[Gambas-user] Center a webButton

Mike Crean mike.crean at y7mail.com
Tue Apr 13 11:30:40 CEST 2021


Thanks Gianluigi your work around worked well. Problem solved.
RegardsMike



 

    On Tuesday, 13 April 2021, 5:00:06 pm AWST, Gianluigi <bagonergi at gmail.com> wrote:  
 
 

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")
    }
  }
RegardsMike

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)
RegardsGianluigi
 
----[ http://gambaswiki.org/wiki/doc/netiquette ]----
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210413/db160a84/attachment.htm>


More information about the User mailing list