fix(spin_buttton): change text style to body

This commit is contained in:
Michael Aaron Murphy 2025-10-14 16:28:43 +02:00
parent cd3e9c1493
commit f44d82a7e8
No known key found for this signature in database
GPG key ID: B2732D4240C9212C

View file

@ -178,7 +178,7 @@ where
let decrement_button = make_button!(spin_button, "list-remove-symbolic", decrement);
let increment_button = make_button!(spin_button, "list-add-symbolic", increment);
let label = text::title4(spin_button.label)
let label = text::body(spin_button.label)
.apply(container)
.center_x(Length::Fixed(48.0))
.align_y(Alignment::Center);
@ -201,7 +201,7 @@ where
let decrement_button = make_button!(spin_button, "list-remove-symbolic", decrement);
let increment_button = make_button!(spin_button, "list-add-symbolic", increment);
let label = text::title4(spin_button.label)
let label = text::body(spin_button.label)
.apply(container)
.center_x(Length::Fixed(48.0))
.align_y(Alignment::Center);