Skip to content

Commit

Permalink
center type icon
Browse files Browse the repository at this point in the history
  • Loading branch information
yggverse committed Feb 14, 2025
1 parent 49563e3 commit 454ebe0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/browser/window/tab/item/page/content/directory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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));
});
Expand Down

0 comments on commit 454ebe0

Please sign in to comment.