add margin

This commit is contained in:
yggverse 2024-12-19 20:55:45 +02:00
parent 3f4a20e17f
commit 72d5b4a552

View File

@ -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)