Re: Collapsing/expanding NSSplitView
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.