Cuis-Smalltalk-Dev
Cuis-Smalltalk-Dev copied to clipboard
RealEstateAgent
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.
I agree. But, is there a way to open a window and get it overlap the taskbar?