Documentation

Trace:

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
flutterui:button_styles [2023/03/24 11:41]
admin created
flutterui:button_styles [2023/04/14 23:00] (current)
admin
Line 5: Line 5:
 Our button has a minimum size of 48x48 pixels. This is necessary for touch events because your fingers need some space for device contact. But sometimes 48x48 is too much. To style a button on your own, just use: Our button has a minimum size of 48x48 pixels. This is necessary for touch events because your fingers need some space for device contact. But sometimes 48x48 is too much. To style a button on your own, just use:
  
-<code java>​Style.addStyleNames(panel, "f_no_min_size"​);</​code>​+<code java>​Style.addStyleNames(button, "f_small"​);</​code>​
  
 and the button size is as it is. and the button size is as it is.
  
This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information