[Gambas-user] Label.Adjust

Benoît Minisini gambas at ...1...
Fri Dec 31 15:46:45 CET 2010


> 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?

-- 
Benoît Minisini




More information about the User mailing list