Page 1 of 1

Align caracters in texteditor mode

Posted: Wed Nov 29, 2023 11:21 am
by papiosaur
Hello,

when i show a text in a texteditor window, the lignes characters are not aligned.

There a solution to align them please ?

The characteres I and J are less large than others...

Change fonts maybe?

Thanks for your help

Image

Re: Align caracters in texteditor mode

Posted: Wed Nov 29, 2023 11:45 am
by plouf
Thats correct you have to use monospace fonts like COURIER

Very nice gui, good to see you developing ;-)

Re: Align caracters in texteditor mode

Posted: Wed Nov 29, 2023 12:57 pm
by papiosaur
Thanks plouf ;-)

is it possible to change the font to COURIER with Hollywood only in the texteditor?

How to proceed please?

Thanks!

Re: Align caracters in texteditor mode

Posted: Wed Nov 29, 2023 1:51 pm
by papiosaur
ha i have found a "fonts" example in RAPAGUI :-)

Thanks plouf for "monospace font" info ;-)

Re: Align caracters in texteditor mode

Posted: Wed Nov 29, 2023 9:28 pm
by plouf
offcourse with fontname

Code: Select all

<texteditor FontName="Courier New" > iii ooo \nooo iii</texteditor>

Re: Align caracters in texteditor mode

Posted: Thu Nov 30, 2023 8:47 am
by jPV
Another option would be to convert the output as listview entries :)

Re: Align caracters in texteditor mode

Posted: Thu Nov 30, 2023 2:55 pm
by papiosaur
@jPV: yes it's a good idea but i have others informations to show in this window with different format...