From 1e4d63731b743a68dfe6fc22f5fb1674f1f59703 Mon Sep 17 00:00:00 2001 From: CTCaer Date: Thu, 12 Dec 2019 00:20:14 +0200 Subject: [PATCH] nyx: Fix about screen 2nd pane left margin --- nyx/nyx_gui/frontend/gui.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nyx/nyx_gui/frontend/gui.c b/nyx/nyx_gui/frontend/gui.c index 680024b..6b3b1b7 100644 --- a/nyx/nyx_gui/frontend/gui.c +++ b/nyx/nyx_gui/frontend/gui.c @@ -721,9 +721,8 @@ static void _create_tab_about(lv_theme_t * th, lv_obj_t * parent) " Copyright (c) 2016 Gabor Kiss-Vamosi" ); - lv_obj_t * lbl_octopus = lv_label_create(parent, NULL); - lv_obj_align(lbl_octopus, lbl_credits, LV_ALIGN_OUT_RIGHT_TOP, LV_DPI, 0); + lv_obj_align(lbl_octopus, lbl_credits, LV_ALIGN_OUT_RIGHT_TOP, -LV_DPI / 10, 0); lv_ta_set_style(lbl_octopus, LV_TA_STYLE_BG, &monospace_text); lv_label_set_recolor(lbl_octopus, true);