• 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: Thin Windows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Thin Windows
      • From: Scott Anguish <email@hidden>
References: 
 >Thin Windows (From: "Jason Barker" <email@hidden>)

  • Prev by Date: Re: D&D warning alert w/Finder folder drop
  • Next by Date: Expanding all Nodes in an NSOutlineView on Load
  • Previous by thread: Thin Windows
  • Next by thread: Re: Thin Windows
  • Index(es):
    • Date
    • Thread