fix: spin button
This commit is contained in:
parent
a394a169f5
commit
40768a9a3d
1 changed files with 2 additions and 2 deletions
|
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue