From 6c20eafd05025b5c65b975d10ec72005ea3966ec Mon Sep 17 00:00:00 2001 From: jacqueline Date: Thu, 5 Oct 2023 14:24:00 +1100 Subject: First pass at having some kind of design and theming --- src/ui/screen.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ui/screen.cpp') 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 -- cgit v1.2.3