mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 17:45:28 +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
|
// 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…
Add table
Add a link
Reference in a new issue