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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
33 changed files with 65 additions and 65 deletions

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);