Re: growing an NSView?
Re: growing an NSView?
- Subject: Re: growing an NSView?
- From: "John C. Randolph" <email@hidden>
- Date: Wed, 7 Nov 2001 22:34:29 -0800
On Wednesday, November 7, 2001, at 09:37 PM, Lamar Williams wrote:
I don't think it's a drawers. Drawers physically look like a separate
window, what I'm talking about looks like the same window just got
bigger.
I know what you mean. Internet Connect does this, when you hit the
button that shows more detail.
There isn't a standard UI item that implements this behaviour, but it
wouldn't be that tough to write. NSWindow has various -setFrame:...
methods that you can use to resize a window.
Many years ago at Filoli, I wrote a CollapsibleBox class which would
expand and collapse when you hit an arrow icon, and could resize the
window it was in and move anything that would get crowded when the box
expanded. Maybe I should update that and put it on an IB palette.
-jcr
"Scientology is evil; its techniques are evil; its practice is a serious
threat to the community, medically, morally, and socially; and its
adherents are sadly deluded and often mentally ill... --Justice
Anderson, Supreme Court of Victoria, Australia