summaryrefslogtreecommitdiff
path: root/src/ui/screen.cpp
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2023-10-05 14:24:00 +1100
committerjacqueline <me@jacqueline.id.au>2023-10-05 14:24:00 +1100
commit6c20eafd05025b5c65b975d10ec72005ea3966ec (patch)
treeab36fb60ed6be665f9664faf0fd7af73263e3d5d /src/ui/screen.cpp
parentbf1fc5a2a0f408a8d8a54d4329257a10d077c4fb (diff)
downloadtangara-fw-6c20eafd05025b5c65b975d10ec72005ea3966ec.tar.gz
First pass at having some kind of design and theming
Diffstat (limited to 'src/ui/screen.cpp')
-rw-r--r--src/ui/screen.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/screen.cpp b/src/ui/screen.cpp
index bdc30fcd..7cc37680 100644
--- a/src/ui/screen.cpp
+++ b/src/ui/screen.cpp
@@ -76,6 +76,8 @@ MenuScreen::MenuScreen(models::TopBar& top_bar_model,
lv_obj_set_flex_flow(content_, LV_FLEX_FLOW_COLUMN);
lv_obj_set_flex_align(content_, LV_FLEX_ALIGN_START, LV_FLEX_ALIGN_START,
LV_FLEX_ALIGN_START);
+
+ lv_obj_set_style_pad_all(content_, 4, LV_PART_MAIN);
}
} // namespace ui