mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-03-10 12:41:34 +00:00
add controls margin
This commit is contained in:
parent
ce29a06dda
commit
b5055715d8
@ -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(),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user