Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Bug: Calculated width of a toolbar button with an '&' is wrong Collapse All
Subject Author Date
Hans Bergmeister Jun 5, 2007 - 5:27 AM

Hello,

the width of a toolbar button in a CExtToolControlBar, which contains an icon and the text "Men & Women" (with a visible ampersand - i.e. the text physically stored in the button is "Men && Women" with the directive to print a single ampersand) is not correctly calculated. The width is apparently to small. It seems, that the visible ampersand is still interpreted as prefix character. If ’&&’ is replaced by any other character in the stored text, then the width of the button is calculated correctly.

Technical Support Jun 9, 2007 - 8:07 AM

We fixed this bug. You can download the updated code via ftp. If you don’t know how, please contact us via email.

Technical Support Jun 5, 2007 - 9:23 AM

We confirm that the width is incorrectly calculated in this case and will provide you with a fix as soon as possible. Thank you.