layout management and cocoa
layout management and cocoa
- Subject: layout management and cocoa
- From: Baback Nemazie <email@hidden>
- Date: Wed, 12 Feb 2003 14:44:47 -0800
Hi,
I am familiar with layout managers in Java Swing. There does not seem
to be the
equivalent concept in cocoa. I have a simple window with three items
lined up as:
|--------------------| |--------------------|
| | | |
| | | B |
| | | |
| | |--------------------|
| A |
I | |--------------------|
| | | C |
| | | |
|--------------------| |--------------------|
Now I want the items to expand vertically and horizontally as I expand
and shrink the
container window. I simple-mindedly added "springs" to all items A, B,
and C in both
x and y directions. Now items expand but the expansion does not respect
boundaries of
other items, i.e., A expands into areas for B and C. The shrinkage does
not occur nicely
either. How do I do this correctly in IB to get this to work as in
Java Swing?
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.