apply caption class

This commit is contained in:
yggverse 2025-02-04 23:12:48 +02:00
parent 60a2300e03
commit fbae5dac89

View file

@ -16,10 +16,7 @@ impl Gutter {
const MARGIN_X: i32 = 8; const MARGIN_X: i32 = 8;
const MARGIN_Y: i32 = 2; const MARGIN_Y: i32 = 2;
let label = Label::builder() let label = Label::builder()
.css_classes([ .css_classes(["caption", "dim-label"])
// "caption",
"dim-label",
])
.ellipsize(EllipsizeMode::Middle) .ellipsize(EllipsizeMode::Middle)
.halign(Align::Start) .halign(Align::Start)
.margin_bottom(MARGIN_Y) .margin_bottom(MARGIN_Y)