mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +00:00
center type icon
This commit is contained in:
parent
49563e36eb
commit
454ebe0170
1 changed files with 2 additions and 1 deletions
|
|
@ -61,7 +61,8 @@ impl Directory {
|
||||||
_ => None,
|
_ => None,
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
let container = gtk::Box::builder().build(); // prevents `gtk::Image` blur
|
let container =
|
||||||
|
gtk::Box::builder().halign(gtk::Align::Center).build(); // prevents `gtk::Image` blur
|
||||||
container.append(&image);
|
container.append(&image);
|
||||||
list_item.set_child(Some(&container));
|
list_item.set_child(Some(&container));
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue