mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-14 00:38:06 +00:00
add margin
This commit is contained in:
parent
3f4a20e17f
commit
72d5b4a552
@ -31,6 +31,7 @@ impl Widget {
|
|||||||
.css_classes(["frame", "view"])
|
.css_classes(["frame", "view"])
|
||||||
.extra_menu(&adapter.menu_model())
|
.extra_menu(&adapter.menu_model())
|
||||||
.left_margin(MARGIN)
|
.left_margin(MARGIN)
|
||||||
|
.margin_bottom(MARGIN / 4)
|
||||||
.right_margin(MARGIN)
|
.right_margin(MARGIN)
|
||||||
.top_margin(MARGIN)
|
.top_margin(MARGIN)
|
||||||
.wrap_mode(WrapMode::Word)
|
.wrap_mode(WrapMode::Word)
|
||||||
|
Loading…
Reference in New Issue
Block a user