U++ Forum - RDF feed
https://www.ultimatepp.org/forums/
Display problem with LineEdit after change font
https://www.ultimatepp.org/forums/index.php?t=rview&goto=6756&th=1711#msg_6756
I encounter some problem if I use SetFont for a LineEdit control. The display of the content seems to use wrong character spacing then and looks very odd.
I created an example and attach it, as well as a screenshot to see the odd display.
This happens on Win2K with U++ 610-dev2.
Maybe a problem in the Paint method of LineEdit. I had a look there, but don't really understand what is going on.
Zaurus]]>zaurus2006-11-26T10:26:15-00:00Re: Display problem with LineEdit after change font
https://www.ultimatepp.org/forums/index.php?t=rview&goto=6779&th=1711#msg_6779
Maybe you should use DocEdit instead?
Mirek]]>mirek2006-11-26T23:03:04-00:00Re: Display problem with LineEdit after change font
https://www.ultimatepp.org/forums/index.php?t=rview&goto=6782&th=1711#msg_6782
Thanks for the very fast answers
Zaurus]]>zaurus2006-11-27T02:58:59-00:00Re: Display problem with LineEdit after change font
https://www.ultimatepp.org/forums/index.php?t=rview&goto=6785&th=1711#msg_6785
zaurus wrote on Sun, 26 November 2006 21:58
Monospace is fine for me. I only need to reduce the font size for my application. Is 'Courier' monospaced font, or which is best to use?
Thanks for the very fast answers
Zaurus
Yes, Courier is monospaced by definition.
Mirek]]>mirek2006-11-27T10:29:38-00:00Re: Display problem with LineEdit after change font
https://www.ultimatepp.org/forums/index.php?t=rview&goto=6786&th=1711#msg_6786
Thanks. Courier works fine. I thought StdFont is Courier, but it's not. Otherwise would have tried Courier earlier.