[Gambas-user] Label.Adjust
Demosthenes Koptsis
demosthenesk at ...626...
Tue Dec 28 19:53:08 CET 2010
On Tue, 2010-12-28 at 16:59 +0100, Benoît Minisini wrote:
> > In wiki says
> >
> > Adjusts the Label dimensions to its contents.
> >
> > But in my tests only the height dimension is adjusted.
> >
> > The width dimension is not adjusted properly for a long text.
>
> Which GUI do you use? What is the source code?
>
the code is
----------------
PUBLIC SUB Form_Open()
Label1.Text = " This is a looooooooong text, sghssgh fshsfg dfg fdg sad
gfsda asdg sdg "
Label1.Adjust
END
---------------
i use these componets, gb.form, gb.gui on ubuntu 10.04
see pictures for design and running mode.
--
Regards,
Demosthenes Koptsis.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Project75_099.png
Type: image/png
Size: 7426 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20101228/ea2de96f/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Selection_098.png
Type: image/png
Size: 2468 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20101228/ea2de96f/attachment-0001.png>
More information about the User
mailing list