[Gambas-user] Label.Adjust

Demosthenes Koptsis demosthenesk at ...626...
Fri Dec 31 19:13:41 CET 2010


i'll check it next year (tomorrow :)...)... for now i'll leave for a
while the computer and celebrate the new year festival.

Best wishes to all Gambas friends and happy new year!

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