• 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
Layouting NSTableView Headers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Layouting NSTableView Headers


  • Subject: Layouting NSTableView Headers
  • From: Andreas Hoeschler <email@hidden>
  • Date: Fri, 22 Oct 2004 21:54:02 +0200

Hello,

I need to programmatically create an NSTableView and have problems with the layout (width) of the headers. The easiest way to autolayout the headers seems to be a sizeToFit call. However, I need the columns to have different widths and I don't want to horizontally scroll, so the sum of all column widths should fit the inner width of the tableView.

Suppose the first column has a width 80 and the second has a width 100. The tableView has an inner width of 200. This makes a gab of 20. I want this gab to vanish (should be distributed over the two columns). How do I do that?

By the way, what exactly does tile do? Haven't found out that yet.

Thanks a lot!

Regards,

Andreas

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Prev by Date: Re: KVO and accessors - are they needed
  • Next by Date: [ANN] VelaTerra 1.0
  • Previous by thread: Re: Creating a Custom Formatter
  • Next by thread: [ANN] VelaTerra 1.0
  • Index(es):
    • Date
    • Thread