Page 1 of 1

listview identation

Posted: Thu Apr 02, 2026 10:19 am
by ilbarbax
For my needs I copied a script into a listview. But doing that the identations are lost. it seems that during the copy on all lines the left spaces and tabs are trim out.
Using texteditor class I found many difficulties in doing what I need that instead with listview went much easier.
Is there a workaround to avoid this?
Is mode "styled" foreseen to be added to listview class on next release?

Using HW11 under Windos 10

thanks

Re: listview identation

Posted: Tue Apr 14, 2026 5:24 pm
by airsoftsoftwair
That's probably not going to work the way you want. How a listview interprets the tab character is probably highly platform-specific and since RapaGUI uses native widgets on all platforms, there's no way to make this work consistently on all platforms. You have to find a different way to do what you want. Feeding tab characters into native listview widgets is definitely not going to work the same everywhere.