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

Fabien Bodard gambas.fr at ...626...
Tue Apr 30 16:42:54 CEST 2013


are you sure you not have multiple endline in your string ?

can you try with
replace("your string", "\n","")

?




2013/4/29 Benoît Minisini <gambas at ...1...>

> 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
>
>
> ------------------------------------------------------------------------------
> Try New Relic Now & We'll Send You this Cool Shirt
> New Relic is the only SaaS-based application performance monitoring service
> that delivers powerful full stack analytics. Optimize and monitor your
> browser, app, & servers with just a few lines of code. Try New Relic
> and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



-- 
Fabien Bodard



More information about the User mailing list