mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-12 00:20:03 -04:00
Weather display beautification (#1635)
This commit is contained in:
parent
bd475e6f9c
commit
c3bb9c0a16
2 changed files with 11 additions and 10 deletions
|
@ -211,7 +211,7 @@ void RecentEntriesTable<ui::WeatherRecentEntries>::draw(
|
|||
line += WeatherView::pad_string_with_spaces(6 - temp.length()) + temp;
|
||||
line += WeatherView::pad_string_with_spaces(5 - humStr.length()) + humStr;
|
||||
line += WeatherView::pad_string_with_spaces(4 - chStr.length()) + chStr;
|
||||
line += WeatherView::pad_string_with_spaces(4 - ageStr.length()) + ageStr;
|
||||
line += WeatherView::pad_string_with_spaces(5 - ageStr.length()) + ageStr;
|
||||
|
||||
line.resize(target_rect.width() / 8, ' ');
|
||||
painter.draw_string(target_rect.location(), style, line);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue