|
|
|
|
Re: Label "cut" in wizard page [message #459475 is a reply to message #459059] |
Tue, 09 August 2005 17:10  |
Eclipse User |
|
|
|
>> AFAIK, When a component calculates its preferred size, it doesn't
>> distinguish between normal characters and special characters.
>> It uses an average character width multiplied by the number of
>> characters.
This is not correct. For example, custom widget in SWT use
GC.textExtent(String string, int flags) where the flags specify whether
tabs, mnemonis, or delimiters should be considered when measuring string
lengths. This is also true of native widgets. In cases where this is found
to not be true, you should enter bug reports.
"Vincent Etter" <vincent.etter@gmail.com> wrote in message
news:dcdgtu$4em$1@news.eclipse.org...
> Sunil Kamath wrote:
>> "Vincent Etter" <vincent.etter@gmail.com> wrote in message
>> news:dcdagn$r95$2@news.eclipse.org...
>>
>>>Vincent Etter wrote:
>>>
>>>>Hello !
>>>>
>>>>I have some labels on a wizard page. It worked fine until I decided to
>>>>use tabs ("\t") to align words. Now the end of some words is cut :
>>>>
>>>>Screenshot : http://img288.imageshack.us/img288/6923/labelcut4ad.jpg
>>>>
>>>>Does anybody know why this happens ? Thanks
>>>>
>>>>Vincent
>>>
>>>The text must be :
>>>
>>>Inclure les fichiers cach
|
|
|
Powered by
FUDForum. Page generated in 0.02911 seconds