more tweaks

This commit is contained in:
sharandac
2020-07-24 14:28:59 +02:00
parent cedb825ee6
commit 8ca3f25292
9 changed files with 48 additions and 13 deletions

View File

@@ -81,7 +81,7 @@ void battery_settings_tile_setup( lv_obj_t *tile, lv_style_t *style, lv_coord_t
lv_obj_align( battery_design_cap_label, battery_design_cont, LV_ALIGN_IN_LEFT_MID, 5, 0 );
battery_design_cap = lv_label_create( battery_design_cont, NULL);
lv_obj_add_style( battery_design_cap, LV_OBJ_PART_MAIN, style );
lv_label_set_text( battery_design_cap, "350mAh");
lv_label_set_text( battery_design_cap, "300mAh");
lv_obj_align( battery_design_cap, battery_design_cont, LV_ALIGN_IN_RIGHT_MID, -5, 0 );
lv_obj_t *battery_current_cont = lv_obj_create( battery_settings_tile, NULL );
@@ -94,7 +94,7 @@ void battery_settings_tile_setup( lv_obj_t *tile, lv_style_t *style, lv_coord_t
lv_obj_align( battery_current_cap_label, battery_current_cont, LV_ALIGN_IN_LEFT_MID, 5, 0 );
battery_current_cap = lv_label_create( battery_current_cont, NULL);
lv_obj_add_style( battery_current_cap, LV_OBJ_PART_MAIN, style );
lv_label_set_text( battery_current_cap, "380mAh");
lv_label_set_text( battery_current_cap, "300mAh");
lv_obj_align( battery_current_cap, battery_current_cont, LV_ALIGN_IN_RIGHT_MID, -5, 0 );
lv_obj_t *battery_voltage_cont = lv_obj_create( battery_settings_tile, NULL );