Browse Source

add controls margin

master
yggverse 2 months ago
parent
commit
b5055715d8
  1. 5
      src/app/browser/window/header/bar/control/widget.rs

5
src/app/browser/window/header/bar/control/widget.rs

@ -9,7 +9,10 @@ impl Widget { @@ -9,7 +9,10 @@ impl Widget {
// Construct
pub fn new_arc() -> Arc<Self> {
Arc::new(Self {
gobject: WindowControls::new(PackType::End),
gobject: WindowControls::builder()
.side(PackType::End)
.margin_end(4)
.build(),
})
}

Loading…
Cancel
Save