Skip to content

Commit

Permalink
fix: adjust search icon size (#765)
Browse files Browse the repository at this point in the history
  • Loading branch information
Feichtmeier committed Aug 15, 2023
1 parent 0cfa673 commit 539d86b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/src/widgets/yaru_search_field.dart
Original file line number Diff line number Diff line change
Expand Up @@ -386,13 +386,14 @@ class YaruSearchButton extends StatelessWidget {
YaruIcons.search,
// Note: Center is needed for when the button is leading
// This increases the iconsize, thus this adjustment is needed
size: kYaruIconSize - 2,
//
size: kYaruIconSize - 4,
color: theme.colorScheme.onSurface,
),
icon: icon ??
Icon(
YaruIcons.search,
size: kYaruIconSize - 2,
size: kYaruIconSize - 4,
color: theme.colorScheme.onSurface,
),
onPressed: onPressed,
Expand Down

0 comments on commit 539d86b

Please sign in to comment.