Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » LineEdit font bug
|
Re: LineEdit font bug [message #40847 is a reply to message #40843] |
Mon, 23 September 2013 10:14 |
|
Hi iST1,
The problem is that you change the font. LineEdit is probably (I'm not sure) designed to work with monospace fonts only (anyone else knows more about this?). But GetStdFont returns non-monospace, e.g. DUMP(editCell.GetFont());
editCell.SetFont(GetStdFont());
DUMP(editCell.GetFont()); on my system logsQuote: | editCell.GetFont() = <monospace:16>
editCell.GetFont() = <FreeSans:12>
|
If you skip the SetFont line, it works as expected. If you really want to change the font, try using some monospaced one...
Best regards,
Honza
|
|
|
|
Goto Forum:
Current Time: Fri Sep 20 13:51:11 CEST 2024
Total time taken to generate the page: 0.02699 seconds
|