[BUG] Resizing components in a SystemWindow can prevent you from resizing the window

Frank Shearar Frank.Shearar at rnid.org.uk
Fri Jan 14 15:07:44 UTC 2005


I opened a "senders of" on a method (#globalPointToLocal:, but this
should be arbitrary). I resized the top PluggableList on its downward
edge so the lower PluggableText's scroll bar was larger than the
PluggableText: I couldn't resize the MessageSet's SystemWindow until
I'd shrunk the top PluggableList so that the PluggableText's scroll
bar was once again smaller than the PluggableText's height.

It looks like the mouse events go to the PluggableText rather than the
SystemWindow because it sticks out below the SystemWindow.

Perhaps it should have a minimum height equal to its scrollbar?
Perhaps something like

foo minimumExtent: (self owner width)@(self scrollbarHeight) ?

Hm, actually I see a ScrollPane does something like that. Perhaps then
the layout needs to work out a maximum extent for a widget?

frank


*******************************************************************
This email and any files transmitted with it are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. Any views or opinions expressed
are solely those of the author and do not necessarily represent
RNID policy.
If you are not the intended recipient you are advised that any
use, dissemination, forwarding, printing or copying of this
email is strictly prohibited.
If you have received this email in error please notify the RNID
Helpdesk by telephone on: +44 (0) 207 296 8282.
The Royal National Institute for Deaf People
Registered Office 19*23 Featherstone Street
London EC1Y 8SL No. 454169 (England)
Registered Charity No. 207720
********************************************************************




More information about the Squeak-dev mailing list