Trace: • Label styles • REST Extensions • Button styles
This is an old revision of the document!
The standard button can be customized with styles, e.g. Slider button or Text button. But there are more additional styles for a button.
Our button has a minimum size of 48×48 pixels. This is necessary for touch events because your fingers need some space for device contact. But sometimes 48×48 is too much. To style a button on your own, just use:
Style.addStyleNames(panel, "f_no_min_size");
and the button size is as it is.