From 974322de2e46c913710b74599de8f1b1474b1f44 Mon Sep 17 00:00:00 2001 From: Codex Date: Tue, 23 Jun 2026 21:55:20 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4CPU=E6=A0=B8=E5=BF=83?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E9=9D=A0=E8=BF=91=E9=A2=91=E7=8E=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main/ui_screen.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main/ui_screen.c b/main/ui_screen.c index cae4b79..402410f 100644 --- a/main/ui_screen.c +++ b/main/ui_screen.c @@ -612,14 +612,14 @@ void ui_screen_create(void) lv_label_set_long_mode(s_cpu_core_type_labels[i], LV_LABEL_LONG_CLIP); lv_obj_set_width(s_cpu_core_type_labels[i], 14); lv_obj_set_style_text_align(s_cpu_core_type_labels[i], LV_TEXT_ALIGN_LEFT, 0); - lv_obj_align(s_cpu_core_type_labels[i], LV_ALIGN_TOP_LEFT, 138, y); + lv_obj_align(s_cpu_core_type_labels[i], LV_ALIGN_TOP_LEFT, 158, y); lv_obj_add_flag(s_cpu_core_type_labels[i], LV_OBJ_FLAG_HIDDEN); s_cpu_core_freq_labels[i] = make_label(screen, "--", &lv_font_montserrat_14); lv_label_set_long_mode(s_cpu_core_freq_labels[i], LV_LABEL_LONG_CLIP); - lv_obj_set_width(s_cpu_core_freq_labels[i], 36); - lv_obj_set_style_text_align(s_cpu_core_freq_labels[i], LV_TEXT_ALIGN_LEFT, 0); - lv_obj_align(s_cpu_core_freq_labels[i], LV_ALIGN_TOP_LEFT, 151, y); + lv_obj_set_width(s_cpu_core_freq_labels[i], 42); + lv_obj_set_style_text_align(s_cpu_core_freq_labels[i], LV_TEXT_ALIGN_RIGHT, 0); + lv_obj_align(s_cpu_core_freq_labels[i], LV_ALIGN_TOP_LEFT, 154, y); lv_obj_add_flag(s_cpu_core_freq_labels[i], LV_OBJ_FLAG_HIDDEN); }