Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Thin Windows




On Oct 23, 2007, at 9:01 AM, Jerry Krinock wrote:


On 2007 Oct, 23, at 0:58, Jason Barker wrote:

I would like to create a tall, thin toolbar for my application but I
can't seem to create a panel thin enough. I'm thinking about 30 pixels
wide. It seems as though I cannot go thinner than 59 pixels for a
panel, if I remove the text for the title of the panel.


Is it possible to go thinner?

Yes, this can be done if you create the window programatically. That sounds daunting, but it takes surprisingly little code.

or just resize the window programmatically before you make it visible.

that way you can do the layout in IB (keeping everything aligned to the bottom left) and then just resize the window.


_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Thin Windows (From: "Jason Barker" <email@hidden>)
 >Re: Thin Windows (From: Jerry Krinock <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.