fix: spin button

This commit is contained in:
Ashley Wulber 2024-11-20 12:11:50 -05:00 committed by Ashley Wulber
parent a394a169f5
commit 40768a9a3d

View file

@ -1983,7 +1983,7 @@ pub fn window_management() -> Section<crate::pages::Message> {
.add(settings::item::builder(&descriptions[gaps]).control(
cosmic::widget::spin_button(
page.theme_builder.gaps.1.to_string(),
page.theme_builder.gaps.1.to_string(),
page.theme_builder.gaps.1,
1,
page.theme.active_hint,
500,
@ -2078,4 +2078,4 @@ pub fn color_button<'a, Message: 'a + Clone>(
.width(Length::Fixed(f32::from(width)))
.height(Length::Fixed(f32::from(height)))
.into()
}
}