mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-06 05:34:50 -04:00
parent
c80cae3638
commit
ac31f4781c
33 changed files with 65 additions and 65 deletions
|
@ -137,7 +137,7 @@ TabView::TabView(std::initializer_list<TabDef> tab_definitions) {
|
|||
|
||||
size_t tab_width = screen_width / n_tabs;
|
||||
|
||||
set_parent_rect({0, 0, 30 * 8, 3 * 8});
|
||||
set_parent_rect({0, 0, screen_width, 3 * 8});
|
||||
|
||||
for (auto& tab_definition : tab_definitions) {
|
||||
tabs[i].set(i, tab_width, tab_definition.text, tab_definition.color);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue