dock buttons now have proper padding
This commit is contained in:
parent
bae3ed8522
commit
25683b4cba
1 changed files with 1 additions and 0 deletions
|
@ -933,6 +933,7 @@ impl Render for PanelButtons {
|
||||||
|
|
||||||
h_flex()
|
h_flex()
|
||||||
.gap_1()
|
.gap_1()
|
||||||
|
.when(has_buttons, |this| this.py(DynamicSpacing::Base04.rems(cx)))
|
||||||
.when(
|
.when(
|
||||||
has_buttons && dock.position == DockPosition::Bottom,
|
has_buttons && dock.position == DockPosition::Bottom,
|
||||||
|this| this.child(Divider::vertical().color(DividerColor::Border)),
|
|this| this.child(Divider::vertical().color(DividerColor::Border)),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue