mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-09-03 18:32:33 +00:00
set horizontal align center
This commit is contained in:
parent
8c26bc82ed
commit
b56309065e
@ -26,6 +26,7 @@ impl Directory {
|
|||||||
// Init children widget
|
// Init children widget
|
||||||
let column_view = {
|
let column_view = {
|
||||||
let column_view = gtk::ColumnView::builder()
|
let column_view = gtk::ColumnView::builder()
|
||||||
|
.halign(gtk::Align::Center)
|
||||||
// @TODO implement profile save .reorderable(true)
|
// @TODO implement profile save .reorderable(true)
|
||||||
// @TODO enable this option may cause core dumped errors
|
// @TODO enable this option may cause core dumped errors
|
||||||
// .single_click_activate(true)
|
// .single_click_activate(true)
|
||||||
@ -81,6 +82,7 @@ impl Directory {
|
|||||||
|
|
||||||
// Build main widget
|
// Build main widget
|
||||||
ScrolledWindow::builder()
|
ScrolledWindow::builder()
|
||||||
|
.css_classes(["view"])
|
||||||
.child(&column_view)
|
.child(&column_view)
|
||||||
.vexpand(true)
|
.vexpand(true)
|
||||||
.build()
|
.build()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user