Re: how to manage width of popuplist of a combobox???
Re: how to manage width of popuplist of a combobox???
- Subject: Re: how to manage width of popuplist of a combobox???
- From: Heinrich Giesen <email@hidden>
- Date: Wed, 10 Aug 2005 16:37:37 +0200
On 09.08.2005, at 20:00, Mradul Mandhanya wrote:
The problem is that I haven't found any method to increase the
width of
combobox popup list.... And because of these long words they are not
coming properly in the list and truncated. And I cannot increase its
width up to certain limit (becoz of UI constraints)
because NSComboxBox inherits from NSTextField inherits from NSControl
inherits from NSView you can change the width with:
NSRect boxFrame = [theComboBox frame];
boxFrame.size.width = theNewWidth; // you know this value??
[theComboBox setFrame:boxFrame];
--
Heinrich Giesen
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden