mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-03-13 06:01:21 +00:00
set horizontal align center
This commit is contained in:
parent
8c26bc82ed
commit
b56309065e
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user