set horizontal align center

This commit is contained in:
yggverse 2025-02-15 10:04:40 +02:00
parent 8c26bc82ed
commit b56309065e

View File

@ -26,6 +26,7 @@ impl Directory {
// Init children widget
let column_view = {
let column_view = gtk::ColumnView::builder()
.halign(gtk::Align::Center)
// @TODO implement profile save .reorderable(true)
// @TODO enable this option may cause core dumped errors
// .single_click_activate(true)
@ -81,6 +82,7 @@ impl Directory {
// Build main widget
ScrolledWindow::builder()
.css_classes(["view"])
.child(&column_view)
.vexpand(true)
.build()