mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 17:45:28 +00:00
add margin
This commit is contained in:
parent
3f4a20e17f
commit
72d5b4a552
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue