Cuis-Smalltalk / Cuis-Smalltalk-Dev

Active development of Cuis Smalltalk
MIT License
424 stars 69 forks source link

RealEstateAgent #181

Open hilaire opened 3 years ago

hilaire commented 3 years ago

Should real estate agent taking into consideration the taskbar? I think yes, because you don't want to overlap the taskbar when asking the maximum usable area:

| world area taskbar  |
world := WorldMorph allInstances first.
taskbar := world submorphs detect: [:morph | morph is: #TaskbarMorph].
area := RealEstateAgent maximumUsableArea extendBy: 0 @ taskbar morphHeight negated.
jvuletich commented 2 years ago

I agree. But, is there a way to open a window and get it overlap the taskbar?