screen max width fixes (#2663)

* max width fixes

* format
This commit is contained in:
Totoo
2025-05-23 08:42:19 +02:00
committed by GitHub
parent c80cae3638
commit ac31f4781c
33 changed files with 65 additions and 65 deletions
+1 -1
View File
@@ -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);