Re: Thin Windows
Re: Thin Windows
- Subject: Re: Thin Windows
- From: Jerry Krinock <email@hidden>
- Date: Tue, 23 Oct 2007 06:01:55 -0700
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. Check out
the "ToolTip" class written by Eric Forget which is in the ^first^
code box on this page:
http://www.cocoadev.com/index.pl?ToolTip
I have adapted this class for use in my app. Just for fun, in the -
setString method, I set the width to 30, compiled my app, and it worked.
_______________________________________________
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
References: | |
| >Thin Windows (From: "Jason Barker" <email@hidden>) |