Commit ae4eaa0
committed
fix(filters): make sort sheet options dense like the other sheets
SortOptionsSheet built its options with a plain ListTile and omitted
dense: true, while the category, style, and visibility sheets all pass
it on their CheckboxListTiles. With no ListTileTheme in lib/, the sort
tile fell back to the Material 3 default of styling its title from
bodyLarge (~16sp), giving a 48px row pitch against 40px elsewhere — so
the sort picker read as a different, larger font.
Add dense: true so the row pitch and title size match. Cosmetic only;
the Semantics labels and the widget tree shape are unchanged.
The issue also asked whether controlAffinity wants aligning here. It
does not — ListTile has no controlAffinity parameter, and passing
leading: Radio already is leading affinity, matching the other sheets.
Fixes #507
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A5nhJiJuRjtP3q7mTrsXBt1 parent af30dc0 commit ae4eaa0
2 files changed
Lines changed: 44 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
191 | 194 | | |
192 | 195 | | |
193 | 196 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
192 | 233 | | |
193 | 234 | | |
194 | 235 | | |
| |||
0 commit comments