[Gambas-user] Word Wrap in GridView
Rolf-Werner Eilert
eilert-sprachen at ...221...
Fri Sep 11 11:04:15 CEST 2009
Angel Romero Astorga schrieb:
> Hi all
>
> My problem is similar. When I used gb.gui, GridView wrap the text,
but when I use gb.qt, it don't do it. ¿How can I wrap the text in a
cell? thanks
>
> Rolf, I don't know how to help you, sorry
I'm using the whole thing under KDE only, and I don't know why it wraps
the texts (though I don't mind it doing so :-) ). Is there a property to
switch this on or off?
Here is an idea for the developers (bonjour Benoit...) which came to me
the other day:
IF there is any value about word-wrap that can be read from the original
C++ GridView from the libraries, it might suffice to give just an
integer about the number of text lines in a grid line. If it's > 1, the
program could decide whether to stretch this line's height to make the
whole text visible. A single line's height can be read easily anyway.
If the programmer doesn't want to decide for each line, there could be a
property as well to be set with TRUE to make the GridView care for it by
itself.
Just my 2 cents...
Regards
Rolf
More information about the User
mailing list