Multi screen support, with dyn alignment (#2801)

This commit is contained in:
Totoo 2025-10-03 19:10:10 +02:00 committed by GitHub
parent 23cabb8b8a
commit 371b6b5079
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
161 changed files with 4042 additions and 4157 deletions

View file

@ -31,6 +31,7 @@ namespace ui {
FreqManUIList::FreqManUIList(Rect parent_rect)
: Widget{parent_rect},
visible_lines_{(unsigned)parent_rect.height() / char_height} {
line_max_length = (parent_rect.width() - 8) / char_width;
this->set_focusable(true);
}