Re: setWidth pop-up list of NSComboBox
Re: setWidth pop-up list of NSComboBox
- Subject: Re: setWidth pop-up list of NSComboBox
- From: Steven Degutis <email@hidden>
- Date: Sat, 13 Feb 2010 07:49:55 -0500
NSComboBox is an ordinary control just like any other. Thus, you can set
it's frame with the -setFrame: method of NSView, from which it inherits.
However, changing the width of this kind of control to accommodate its
contents is pretty uncommon in standard Cocoa apps.
-Steven
On Thu, Feb 11, 2010 at 1:43 PM, John Yeh <email@hidden> wrote:
> How to change the width of the pop-up list in NSComboBox? When a long
> string is added to the NSComboBox, it can't displayed completely. how to
> extend the width of the pop-up list?
> -John_______________________________________________
>
> 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
>
--
Steven Degutis
http://www.thoughtfultree.com/
http://www.degutis.org/
_______________________________________________
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