Skip to content

Commit

Permalink
Add some default spacing for Toggler
Browse files Browse the repository at this point in the history
  • Loading branch information
hecrj committed Aug 30, 2023
1 parent c44611c commit ffd0f4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion widget/src/toggler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ where
text_line_height: text::LineHeight::default(),
text_alignment: alignment::Horizontal::Left,
text_shaping: text::Shaping::Basic,
spacing: 0.0,
spacing: Self::DEFAULT_SIZE / 2.0,
font: None,
style: Default::default(),
}
Expand Down

0 comments on commit ffd0f4d

Please sign in to comment.