拉近CPU核心频率显示间距

This commit is contained in:
Codex 2026-06-23 21:49:11 +08:00
parent 16d3b53db1
commit 35fe9337db

View File

@ -617,9 +617,9 @@ void ui_screen_create(void)
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], 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_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_add_flag(s_cpu_core_freq_labels[i], LV_OBJ_FLAG_HIDDEN);
}