[Gambas-user] Center a webButton
Gianluigi
bagonergi at gmail.com
Tue Apr 13 10:59:04 CEST 2021
Il giorno mar 13 apr 2021 alle ore 07:52 Mike Crean via User <
user at lists.gambas-basic.org> ha scritto:
> Hi in Webform1.webform
> the code Alignment = Align.Center centres WebLabel1
>
> { WebLabel1 WebLabel
> #MoveScaled(1,14.5714,84.1429,5.1429)
> Font = "sans-serif,bold"
> Alignment = Align.Center
> }
>
> How do I centre WebButton1
>
> { WebContainer1 WebContainer
> #MoveScaled(1,26.8571,84.1429,7.7143)
> { WebButton1 WebButton
> #MoveScaled(0,0,19.2857,5.1429)
> Width = "5em"
> Font = "bold"
> Text = ("Reset")
> }
> }
>
> Regards
> Mike
>
Hi Mike,
I don't know anything about the web but I assume that, being the Webforms a
product of the Gambas GUI, they work using containers as usual.
See attached example (test)
Regards
Gianluigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210413/1988f677/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Test-0.0.1.tar.gz
Type: application/gzip
Size: 12333 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210413/1988f677/attachment-0001.gz>
More information about the User
mailing list