[Gambas-user] Label.Adjust

Demosthenes Koptsis demosthenesk at ...626...
Wed Dec 29 11:18:26 CET 2010


Of caurse Benoit, i did it in previous email but here it is again.


On Wed, 2010-12-29 at 10:07 +0100, Benoît Minisini wrote:
> > 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.
> 
> Please can you send the project?
> 

-- 
Regards,
Demosthenes Koptsis.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Project75.tar.gz
Type: application/x-compressed-tar
Size: 23105 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20101229/a020c72b/attachment.bin>


More information about the User mailing list