Re: NSTabView in my preference pane doesn't fill the view
Re: NSTabView in my preference pane doesn't fill the view
- Subject: Re: NSTabView in my preference pane doesn't fill the view
- From: Raleigh Ledet <email@hidden>
- Date: Tue, 2 Dec 2008 09:12:26 -0800
Eric,
The pref pane window adjusts vertically, but has a static width. The
contents of your window are always centered horizontally in the system
preference pane window. (ie springs are not expected to work) The
width of the system preference pane changed between Tiger and Leopard.
It looks like that document was last updated on Oct. 2006 (before
Leopard shipped). File a bug agains the documentation.
Note:
If you want your preference pane to work on both Tiger and Leopard
system, then you need to use the smaller size and live with the extra
spacing in Leopard.
-raleigh
On Dec 1, 2008, at 11:41 AM, Eric Czarny wrote:
Hello!
I submitted this question to the CocoaDev forums, but didn't really
get a good response:
I am having a rather frustrating problem with an NSTabView in my
preference pane. Basically, I have a simple NSWindow that contains an
NSTabView. This NSTabView contains 4 empty tabs. I managed to
configure autosizing through the size inspector in a way that causes
the NSTabView to correctly fill the content of the NSWindow when I try
out the UI in Interface Builder. However, when I load this preference
pane in System Preferences my NSTabView isn't stretching horizontally,
introducing ugly spaces on the left and right side of the NSTabView.
Has anybody seen this behavior before? The way I am working around
this problem is by making my NSWindow 668 pixels wide (the full width
of the System Preferences' window), instead of the recommended
(http://developer.apple.com/documentation/UserExperience/Conceptual/PreferencePanes/Tasks/Creation.html#//apple_ref/doc/uid/20000709-96872
)
595 pixels. I would like to do what Apple recommends, but only if I
can make it work aesthetically.
Any help would be greatly appreciated.
- Eric
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden