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

@ -72,7 +72,7 @@ class McuTemperatureView : public View {
private:
Text text_title{
{76, 16, screen_width, 16},
{UI_POS_X_CENTER(11), 16, UI_POS_WIDTH(11), 16},
"Temperature",
};
@ -81,7 +81,7 @@ class McuTemperatureView : public View {
};
Button button_done{
{72, screen_height - 56, 96, 24},
{UI_POS_X_CENTER(12), UI_POS_Y_BOTTOM(3), UI_POS_WIDTH(12), 24},
"Done"};
};