Re: [Cocoadialog-users] Cut-off text in popup mode
Status: Beta
Brought to you by:
sporkstorms
From: Mark A. S. <ma...@sp...> - 2005-04-18 16:34:42
|
Unfortunately, there is no good way to easily resize the buttons=20 intelligently without hacking at the code. I have it on the TODO list,=20= but have not yet gotten around to it. The buttons won't resize properly according to their labels for any of=20= the dialogs (not just the dropdown). They just resize themselves=20 proportional to the size of the window. Two quick and easy (although ugly and definitely not the "right" way to=20= do it) solutions are: * run it with a --width option, using a value that makes it wide enough=20= to accommodate the text in that particular dialog. The problem with=20 this, though, is that it will look strangely wide and won't be=20 proportional. * Or, edit the .nib file to make the buttons wider. This will make the=20= dialogs with smaller labels look bad. Sorry I don't have a better answer yet. - mark On Apr 18, 2005, at 3:12 AM, Aaron Madlon-Kay wrote: > Hello. I use CocoaDialog in an app of mine called iPodBackup=20 > (http://www.amake.us/software/ipodbackup.html). It's been working=20 > very well for me for quite a while, but I recently came across a small=20= > problem. > > I tried using the dropdown mode for the first time, and I found that=20= > the buttons do not resize properly to fit the text. For an example,=20= > see this screenshot: > http://www.amake.us/misc/cutoff.png > The full text of the leftmost button is "=C7=A9=C7=DF=C7=EF=C7=B7=C7=E7"= . It doesn't seem to=20 > have anything to do with the fact that the text is Japanese. I use=20 > Japanese text in other modes and it always resizes correctly, and it=20= > will cut off English text in the same way in dropdown mode. > > If there's anything you can think of that I can do on my end to fix=20 > this, I'd love to hear it. > > Thanks, > Aaron Madlon-Kay > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real=20 > users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id=14396&op=3Dclick > _______________________________________________ > Cocoadialog-users mailing list > Coc...@li... > https://lists.sourceforge.net/lists/listinfo/cocoadialog-users > |