Commit 808f7ea
fw/timeline: scale the all-day pin's top offset with content size
Minor fix. The "All day" header sat about 5 px too high on Pebble Time 2,
flush against the top edge. Pebble Time was unaffected.
The offset that cancels TextStyleFont_Title's internal leading was a fixed
-13. That font scales with the preferred content size (Gothic 24 at Medium,
Gothic 28 at Large) but the offset did not, so it over-corrects on Large.
Switch it on content size: -8 for large rect, -13 everywhere else. Round
centres its list layout vertically and is excluded.
There was no all-day coverage in the list-view suite at all, which is how this
shipped. Add the missing cases and enable the suite on asterix, which also
exercises ten already-committed asterix goldens for the first time.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Signed-off-by: apurv <pataniapurv@gmail.com>1 parent 0f3e578 commit 808f7ea
9 files changed
Lines changed: 38 additions & 2 deletions
File tree
- src/fw/services/timeline
- tests
- fw/apps/system_apps/timeline
- test_images
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
387 | 387 | | |
388 | 388 | | |
389 | 389 | | |
390 | | - | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
391 | 398 | | |
392 | 399 | | |
393 | 400 | | |
| |||
Lines changed: 29 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| 67 | + | |
66 | 68 | | |
67 | 69 | | |
68 | 70 | | |
| |||
252 | 254 | | |
253 | 255 | | |
254 | 256 | | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| |||
0 commit comments