add controls margin

This commit is contained in:
yggverse 2024-10-10 23:40:25 +03:00
parent ce29a06dda
commit b5055715d8

View File

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