listview identation

Discuss GUI programming with the RapaGUI plugin here
Post Reply
ilbarbax
Posts: 164
Joined: Thu Apr 01, 2010 6:41 pm

listview identation

Post 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
User avatar
airsoftsoftwair
Posts: 5938
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: listview identation

Post 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.
Post Reply