• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
layout management and cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: layout management and cocoa
      • From: Alex Rice <email@hidden>
    • Re: layout management and cocoa
      • From: Nathan Day <email@hidden>
    • Re: layout management and cocoa
      • From: Jan Van Tol <email@hidden>
    • Re: layout management and cocoa
      • From: Dennis Munsie <email@hidden>
    • Re: layout management and cocoa
      • From: Greg Titus <email@hidden>
  • Prev by Date: Passing on events and the built-in functions
  • Next by Date: Problems with drawing to an NSImage in a faceless app
  • Previous by thread: Passing on events and the built-in functions
  • Next by thread: Re: layout management and cocoa
  • Index(es):
    • Date
    • Thread