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