Align caracters in texteditor mode

Discuss GUI programming with the RapaGUI plugin here
Post Reply
papiosaur
Posts: 152
Joined: Fri Mar 31, 2023 1:34 pm

Align caracters in texteditor mode

Post 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
plouf
Posts: 449
Joined: Sun Feb 04, 2018 11:51 pm
Location: Athens,Greece

Re: Align caracters in texteditor mode

Post by plouf »

Thats correct you have to use monospace fonts like COURIER

Very nice gui, good to see you developing ;-)
Christos
papiosaur
Posts: 152
Joined: Fri Mar 31, 2023 1:34 pm

Re: Align caracters in texteditor mode

Post by papiosaur »

Thanks plouf ;-)

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

How to proceed please?

Thanks!
papiosaur
Posts: 152
Joined: Fri Mar 31, 2023 1:34 pm

Re: Align caracters in texteditor mode

Post by papiosaur »

ha i have found a "fonts" example in RAPAGUI :-)

Thanks plouf for "monospace font" info ;-)
plouf
Posts: 449
Joined: Sun Feb 04, 2018 11:51 pm
Location: Athens,Greece

Re: Align caracters in texteditor mode

Post by plouf »

offcourse with fontname

Code: Select all

<texteditor FontName="Courier New" > iii ooo \nooo iii</texteditor>
Christos
User avatar
jPV
Posts: 592
Joined: Sat Mar 26, 2016 10:44 am
Location: RNO
Contact:

Re: Align caracters in texteditor mode

Post by jPV »

Another option would be to convert the output as listview entries :)
papiosaur
Posts: 152
Joined: Fri Mar 31, 2023 1:34 pm

Re: Align caracters in texteditor mode

Post by papiosaur »

@jPV: yes it's a good idea but i have others informations to show in this window with different format...
Post Reply