mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
add controls margin
This commit is contained in:
parent
ce29a06dda
commit
b5055715d8
1 changed files with 4 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue