Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] SWT.DRAW_MNEMONIC

Hi Knut,

I'm not sure (didn't try), but using DRAW_MNEMONIC will case the & to 
disappear and the following letter to be underlined, this would make a 
difference in the width.

Felipe




Knut Radloff <knut_radloff@xxxxxxxxxx> 
Sent by: platform-swt-dev-admin@xxxxxxxxxxx
04/21/2004 12:25 PM
Please respond to
platform-swt-dev


To
platform-swt-dev@xxxxxxxxxxx
cc

Subject
[platform-swt-dev] SWT.DRAW_MNEMONIC







What was the motivation for adding this flag to GC.drawText? It seems that 
only widgets should allow/need to support mnemonic characters. 
Also, the doc for GC.textExtent mentions DRAW_MNEMONIC as one of the valid 
flags. I wouldn't think it actually makes a difference when measuring 
text. 

Knut



Back to the top