From b5055715d8627097a635f410f9ea0dcc25648c79 Mon Sep 17 00:00:00 2001 From: yggverse Date: Thu, 10 Oct 2024 23:40:25 +0300 Subject: [PATCH] add controls margin --- src/app/browser/window/header/bar/control/widget.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/app/browser/window/header/bar/control/widget.rs b/src/app/browser/window/header/bar/control/widget.rs index f447839d..7cb26482 100644 --- a/src/app/browser/window/header/bar/control/widget.rs +++ b/src/app/browser/window/header/bar/control/widget.rs @@ -9,7 +9,10 @@ impl Widget { // Construct pub fn new_arc() -> Arc { Arc::new(Self { - gobject: WindowControls::new(PackType::End), + gobject: WindowControls::builder() + .side(PackType::End) + .margin_end(4) + .build(), }) }