Controlling control positions and size in a window
Controlling control positions and size in a window
- Subject: Controlling control positions and size in a window
- From: Steve Palmer <email@hidden>
- Date: Wed, 28 Jan 2004 22:47:47 -0800
I'm trying to figure out how the auto-sizing of views and controls
within a window work.
I have a mail window that has a NSTextField and NSProgressControl
positioned at the top and below that, an NSSplitView that takes up the
rest of the space. The NSSplitView size info is set so that when the
split view is resized, the views within it are automatically resized.
The problem is that when the main window is resized, the position of
the NSTextField and NSProgressControl are also automatically adjusted
relative to the main window size. What I want is for the NSTextField
not to move and for the NSProgressControl to move left or right
depending on the main window width, and for the NSSplitView to
automatically size as it does now. Unfortunately I can't figure out how
to set this behavior in Interface Builder and the help doesn't give any
clue.
Any pointers would be most welcome.
Thanks.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.