• 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: how to manage width of popuplist of a combobox???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Prev by Date: Re: Helpbooks
  • Next by Date: Re: Distributed Objects between cats
  • Previous by thread: RE: how to manage width of popuplist of a combobox???
  • Next by thread: Re: refreshObject:mergeChanges: vs. stale transient
  • Index(es):
    • Date
    • Thread