mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +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,
|
||||
},
|
||||
);
|
||||
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);
|
||||
list_item.set_child(Some(&container));
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue