• 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
RE: NSTableView : resizing behaviour -> Can anybody explain ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: NSTableView : resizing behaviour -> Can anybody explain ?


  • Subject: RE: NSTableView : resizing behaviour -> Can anybody explain ?
  • From: Jeremy Dronfield <email@hidden>
  • Date: Fri, 5 Jul 2002 11:02:48 +0100

On Friday, July 5, 2002, at 09:45 am, Cristian Savu wrote:

I have a tableView with 1 column containing only numbers. (for the sake of
simplicity). The column content and its header are centred.

Now, I'm trying to resize the table and to obtain a smooth resizing (the
col header and content should be centred while I'm resizing).

And here comes the weird part:
I've tried all possible combination of setting in IB. No result !

I've found configuring TableViews in IB rather buggy (or just counterintuitively designed), and have experienced all kinds of weird column resizing behaviour. I have a table with 3 columns, of which two retain a fixed width and the third auto-resizes. This is the combination of settings with which I managed to make it work:

In IB, set "Resizable" to ON for the resizable column (double-click on the TableView to access individual column attributes).
The weird, counterintuitive part: In the settings for the whole TableView, set "Allows Resizing" and "Autoresize Columns To Fit" to OFF.

It doesn't make sense to me, either, but it seems to work.
- Jeremy.
_______________________________________________
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.

  • Prev by Date: RE: set/saveFrameUsingName
  • Next by Date: NSURL + proxy or firewall
  • Previous by thread: NSTableView : resizing behaviour -> Can anybody explain ?
  • Next by thread: NSURL + proxy or firewall
  • Index(es):
    • Date
    • Thread