mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-08-21 23:19:02 +00:00
Multi screen support, with dyn alignment (#2801)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user