WebButtons don't change height

  1. 3 years ago

    Ralph A

    12 May 2016 Santa Monica, California

    I notice that if increase the height of a WebButton in Inspector, this seems to have effect on the size of that button when the browser draws it. Using Chrome on a Mac.

    Buttons are a special thing because the browsers try to maintain OS appearance. Try applying a background color and it will probably do what you want.

  2. Greg O

    12 May 2016 Xojo Inc Answer

    Buttons are a special thing because the browsers try to maintain OS appearance. Try applying a background color and it will probably do what you want.

  3. Ralph A

    12 May 2016 Santa Monica, California

    Thanks, Greg. That does it.

  4. 4 days ago

    Robert B

    Dec 6 Pre-Release Testers, Xojo Pro Cincinnati, Ohio

    Interesting, I had even tried setting the height property in code at run time, and tried adding a style (Text Color) -- I also tried changing the corner radius. The Text Color style change worked...but none of the other changes worked...until I changed the background color. Seems unintuitive...but ok. I do see it documented where web button is implemented as a native browser control. So happy these forum discussions are left out here for years :-)

or Sign Up to reply!