[Gambas-user] Label.Adjust
Demosthenes Koptsis
demosthenesk at ...626...
Sat Jan 1 08:56:10 CET 2011
Hello, and happy new year with best wishes!
Yes, now the width dimension is ok.
On Fri, 2010-12-31 at 15:46 +0100, Benoît Minisini wrote:
> > sorry Benoit i send you wrong project
> >
> > here it is the corect, but it is not something special.
> >
> > the code is
> >
> > ---------
> > PUBLIC SUB Form_Open()
> >
> > PRINT Label1.Height
> > PRINT Label1.Width
> > Label1.Text = " This is a looooooooong text, sghssgh fshsfg dfg fdg sad
> > gfsda asdg sd"
> > Label1.Adjust
> > PRINT Label1.Height
> > PRINT Label1.Width
> >
> > END
> > ---------
> >
> >
> > in my machine with ubuntu 10.04 i get
> >
> > 117
> > 72
> >
> > 19
> > 72
> >
>
> Is it better with revision #3417?
>
--
Regards,
Demosthenes Koptsis.
More information about the User
mailing list