WebButton height other than default height

I wish to make a button 200 X100

The IDE setting is ignored.

So I tried adding me.height=100 (which the compiler accepts)

But at run time it will not resize.

What am I missing?

I suspect his is “By design” but I need a work around.

Any body have any other idea than the Webrectangle?

Here is an option with JavaScript:

Here is an option changing the CSS:

basically add to HTMLheader

.btn-group { height: 100%!important;  }

Yes, it is “by design” so we need to find ways around that to satisfy client needs.

Edit: I posted some tips here Button changes - CSS tips

work around sucessful.


Is this Web 1 or Web 2 ? With Web 1 it works.

Web 2

Forum for Xojo Programming Language and IDE. Copyright © 2021 Xojo, Inc.