fix(P4): Shot-Zusammenfassung — größere Abstände zwischen Dauer/Gewicht/Flow
Karte von 460 auf 560 px verbreitert und Spaltenabstand von 10 auf 28 px erhöht; die drei großen Werte standen zu nahe beisammen und waren schlecht lesbar. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
27dabd884a
commit
7d240cd13e
@@ -3034,7 +3034,7 @@ void ui_init(ProtocolClient* client) {
|
||||
|
||||
// Shot-Zusammenfassung (zentrierte Karte mit grossen Werten, antippbar zum Schliessen)
|
||||
g_shotSum = lv_obj_create(lv_layer_top());
|
||||
lv_obj_set_size(g_shotSum, 460, LV_SIZE_CONTENT);
|
||||
lv_obj_set_size(g_shotSum, 560, LV_SIZE_CONTENT); // breit genug, damit die drei Werte nicht zusammenruecken
|
||||
lv_obj_set_style_bg_color(g_shotSum, COL_CARD, 0);
|
||||
lv_obj_set_style_bg_opa(g_shotSum, LV_OPA_COVER, 0);
|
||||
lv_obj_set_style_border_color(g_shotSum, COL_ACCENT, 0);
|
||||
@@ -3060,7 +3060,7 @@ void ui_init(ProtocolClient* client) {
|
||||
lv_obj_set_style_bg_opa(sumRow, LV_OPA_TRANSP, 0);
|
||||
lv_obj_set_style_border_width(sumRow, 0, 0);
|
||||
lv_obj_set_style_pad_all(sumRow, 0, 0);
|
||||
lv_obj_set_style_pad_column(sumRow, 10, 0);
|
||||
lv_obj_set_style_pad_column(sumRow, 28, 0); // deutlicher Abstand zwischen Dauer/Gewicht/Flow
|
||||
lv_obj_set_flex_flow(sumRow, LV_FLEX_FLOW_ROW);
|
||||
lv_obj_clear_flag(sumRow, LV_OBJ_FLAG_SCROLLABLE);
|
||||
lv_obj_clear_flag(sumRow, LV_OBJ_FLAG_CLICKABLE); // Tipp faellt auf die Karte durch
|
||||
|
||||
Reference in New Issue
Block a user