Skip to content

Commit 58a1af9

Browse files
committed
Style focus delay field as a regular text input
The “Focus follows cursor delay ” field looks like a label by default. Apply the default text input style so it clearly appears and behaves like an input field.
1 parent eb8d0e3 commit 58a1af9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cosmic-settings/src/pages/desktop/window_management.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,7 @@ pub fn focus_navigation() -> Section<crate::pages::Message> {
331331
.select_on_focus(true)
332332
.on_input(Message::SetFocusFollowsCursorDelay)
333333
.on_submit(|_| Message::SaveFocusFollowsCursorDelay(true))
334+
.style(cosmic::theme::TextInput::Default)
334335
.width(Length::Fixed(80.0)),
335336
))
336337
.add(settings::item(

0 commit comments

Comments
 (0)