Trace:
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
flutterui:label_styles [2023/03/24 10:51] admin |
flutterui:label_styles [2023/03/24 10:54] (current) admin |
||
---|---|---|---|
Line 1: | Line 1: | ||
~~NOTRANS~~ | ~~NOTRANS~~ | ||
~~Title: Label styles~~ | ~~Title: Label styles~~ | ||
- | Our labels have a default height because of extra top and bottom padding. The label is as high as a textfield. This is great if the text is left or right of the textfield, but for simple text labels without textfield this is not stylish. We have options for default padding: | + | Our labels have a default height because of extra top and bottom padding. The label is as high as a textfield. This is great if the text is left or right to a textfield, but for simple text labels without textfield this is not stylish. |
- | We have additional styles: | + | We have additional styles regarding padding: |
<code> | <code> | ||
Line 12: | Line 12: | ||
f_padding_bottom_2 | f_padding_bottom_2 | ||
</code> | </code> | ||
- | **_0** means no padding \\ | + | **0** means no padding \\ |
- | **_2** means half default padding | + | **2** means half default padding |
As usual, add the style to your label | As usual, add the style to your label |