Re: Goofy NSDrawer behavior
Re: Goofy NSDrawer behavior
- Subject: Re: Goofy NSDrawer behavior
- From: jgo <email@hidden>
- Date: Wed, 15 Aug 2001 13:32:37 -0700
>
Mike Vannorsdel wrote:
>
This is done because it would look very strange for a
>
600 pixel wide drawer to slide under a 200 pixel wide
>
window (without sticking out the back side)...
No, it would not be strange for an auxiliary window to the
side, such as a drawer, to be wider than its parent window.
It would be slightly odd, but still useful, for it to
extend below or above its parent window, especially if,
for instance, the drawer contains objects which make use
of disclosure triangles.
In fact it's been a surprise to several folks on the
various X dev lists that passing it a desired size
(content size) results in bizarre behavior. I suspect
it comes from mixing essential with non-essential
characteristics. What is the essential characteristic
of a drawer? It comes out from another object and
slides back in. The rest is embellishment. Some
physical drawers have wider, higher, or lower fronts
than the boxes out of which they are drawn. The
fact that we lack tesseracts is the only incidental
reason that open drawers are smaller than their
cabinets. Heinlein fans (_Glory Road_), however,
would be comfortable with drawers and trunks whose
contents are much larger than their containers. :B-)
John G. Otto Nisus Software, Engineering
www.infoclick.com www.mathhelp.com www.nisus.com software4usa.com
EasyAlarms PowerSleuth NisusEMail NisusWriter MailKeeper QUED/M
Will program Macs for food.