very large buttons with icons

I need to show very large buttons with icons - say, 5*5 cm each. button.setHeight() method ignores the height I set. should I use panels with dark background to imitate buttons then?

Simplest would be to create your own button background images
and then specify them with a addStyle(“LargeButton”)

Look at this thread:


One quick alternative is to use the NativeButton instead of the Button component, which will grow vertically as you’d expect.

Thanks everyone! I did’t get an email update from the forum back then, so I didn’t not read this… I decided to go with panels and CSS. My “Buttons” are simply large panels with a border, which change background on “mouse over”. this looks ok.