Browse Source

fix label alignment

master
yggverse 2 months ago
parent
commit
f62550b8ad
  1. 8
      src/browser/main/tab/page/content/text/gemini/reader/mod.rs

8
src/browser/main/tab/page/content/text/gemini/reader/mod.rs

@ -60,10 +60,12 @@ impl Reader {
// Init widget // Init widget
let widget = Label::builder() let widget = Label::builder()
.halign(Align::Start) .halign(Align::Fill)
.valign(Align::Start) .valign(Align::Fill)
.hexpand(true) // @TODO .hexpand(true)
.vexpand(true) .vexpand(true)
.xalign(0.0)
.yalign(0.0)
.margin_start(8) .margin_start(8)
.margin_end(8) .margin_end(8)
.wrap(true) .wrap(true)

Loading…
Cancel
Save