• 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: Collapsing/expanding NSSplitView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Collapsing/expanding NSSplitView


  • Subject: Re: Collapsing/expanding NSSplitView
  • From: Jeremy Dronfield <email@hidden>
  • Date: Mon, 26 Jan 2004 21:40:14 +0000

On 26 Jan 2004, at 8:29 pm, Andreas Mayer wrote:

Am 26.01.2004 um 20:29 schrieb Jeremy Dronfield:

No matter what I do, the subview browserTables always expands to a width smaller than it had before collapsing.

Are your subviews set to resize automatically with the split view?

Try to switch off automatic resizing before putting them back and switch it back on after everything is in place.

This doesn't help. I suspect the problem has to do with the float value. As I said before, the view goes to the set size perfectly with,

width = 220; //or whatever

but does this funny shrinking when the value is

width = [self browserWidth];

The relevant getter/setter for this are:

- (float)browserWidth {
return browserWidth;
}

- (void)setBrowserWidth:(float)newWidth {
browserWidth = newWidth;
}

-Jeremy

========================================
email@hidden

theLocustFarm.net:
- fractious fiction at http://freespace.virgin.net/jeremy.dronfield
========================================
_______________________________________________
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.

References: 
 >Collapsing/expanding NSSplitView (From: Jeremy Dronfield <email@hidden>)
 >Re: Collapsing/expanding NSSplitView (From: Daniel Todd Currie <email@hidden>)
 >Re: Collapsing/expanding NSSplitView (From: Jeremy Dronfield <email@hidden>)
 >Re: Collapsing/expanding NSSplitView (From: Andreas Mayer <email@hidden>)
 >Re: Collapsing/expanding NSSplitView (From: Jeremy Dronfield <email@hidden>)
 >Re: Collapsing/expanding NSSplitView (From: Andreas Mayer <email@hidden>)

  • Prev by Date: Need help with SQLite
  • Next by Date: Re: Disabling_Expose_for_some_windows,_some_day?
  • Previous by thread: Re: Collapsing/expanding NSSplitView
  • Next by thread: Re: Collapsing/expanding NSSplitView
  • Index(es):
    • Date
    • Thread