[Gambas-user] gridview row heights when cell is wrapped

Benoît Minisini gambas at ...1...
Mon Apr 29 17:09:42 CEST 2013


Le 29/04/2013 05:41, Bruce a écrit :
> I thought this was solved a long time ago?
>
>    gvwinfo[6, 0].Text = "Description"
>    gvwinfo[6, 0].Alignment = Align.TopLeft
>    gvwinfo[6, 1].WordWrap = True
>    gvwinfo[6, 1].RichText = UnQuote($libinfo.Description)
>    gvwinfo[6, 1].Alignment =Align.TopLeft
>    gvwinfo.Rows[6].Height = -1
>
> The last line resizes the height of the row, but it is much too high for
> the wrapped text.
>
> Has anyone else seen this behaviour?
>
> Bruce
>
> [Gambas]
> Version = 3.4.0
> Revision = 6320
> GUI = QT4
>
> [System]
> OperatingSystem=Linux
> Kernel=3.2.18-pclos2.bfs
> Architecture=x86
> Distribution=PCLinuxOS
> Desktop=LXDE
> Theme=QWindows
> Language=en_AU.UTF-8
> Memory=1517M
>
> [Libraries]
> Curl=libcurl.so.3.0.0
> GStreamer=libgstreamer-0.10.so.0.29.0
> GTK+=libgtk-x11-2.0.so.0.2400.10
> Poppler=libpoppler.so.13.0.0
> Qt4=libQtCore.so.4.8.4
> SDL=libSDL-1.2.so.0.11.3
>

Mmm, strange... Can you make a little project that reproduces the bug 
for me?

-- 
Benoît Minisini




More information about the User mailing list