mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-03-10 12:41:34 +00:00
fix label alignment
This commit is contained in:
parent
ad8ebe87e5
commit
f62550b8ad
@ -60,10 +60,12 @@ impl Reader {
|
||||
|
||||
// Init widget
|
||||
let widget = Label::builder()
|
||||
.halign(Align::Start)
|
||||
.valign(Align::Start)
|
||||
.hexpand(true) // @TODO
|
||||
.halign(Align::Fill)
|
||||
.valign(Align::Fill)
|
||||
.hexpand(true)
|
||||
.vexpand(true)
|
||||
.xalign(0.0)
|
||||
.yalign(0.0)
|
||||
.margin_start(8)
|
||||
.margin_end(8)
|
||||
.wrap(true)
|
||||
|
Loading…
x
Reference in New Issue
Block a user