You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ui(settings): prevent horizontal overflow in shortcut keycaps and add mono fallback #1652
In lib/features/settings/preferences_shortcuts_section.dart:
In _buildShortcutRow (lines 384–396), keycaps and conjunctions are placed in a non-wrapping material.Row(mainAxisSize: MainAxisSize.min). Certain shortcuts have multiple combinations (allKeys separated by or), or long string labels like 'Double Click Divider' (line 127). On narrower windows or when UI scale is 125%–150%, this causes RenderFlex overflowed by ... pixels on the right.
In _keycaps (lines 431–436), fontFamily: QueryaTypography.mono is passed without fontFamilyFallback: QueryaTypography.monoFontFamilyFallback. Modifier glyphs or non-Latin keys trigger fallback to proportional system fonts.
In _keycaps (line 416), color: theme.colorScheme.background uses the deprecated background token.
Solution
Replace material.Row with material.Wrap(crossAxisAlignment: material.WrapCrossAlignment.center, spacing: 4, runSpacing: 4) for the trailing keycaps block.
Activity
ui(settings): prevent horizontal overflow in shortcut keycaps and add…
ZhuchkaTriplesix commentedon Oct 17, 2026
Closed by PR #1670 into dev.