@@ -150,7 +150,8 @@ static void make_status_bar(void)
150150#if HOME_SCREEN_DEEP_STATUS_BAR
151151 // Make an hsplit for the logo on the left, and info on the right
152152 gui_view_node_t * hsplit ;
153- gui_make_hsplit (& hsplit , GUI_SPLIT_RELATIVE , 2 , 65 , 35 );
153+ gui_make_hsplit (& hsplit , GUI_SPLIT_RELATIVE , 2 , 100 - HOME_SCREEN_STATUS_BAR_TITLE_WIDTH_PERCENT ,
154+ HOME_SCREEN_STATUS_BAR_TITLE_WIDTH_PERCENT );
154155 gui_set_padding (hsplit , GUI_MARGIN_ALL_DIFFERENT , 0 , 2 , 0 , 2 );
155156 gui_set_parent (hsplit , status_bar .root );
156157
@@ -175,7 +176,7 @@ static void make_status_bar(void)
175176 name_alignment = GUI_ALIGN_RIGHT ;
176177#else
177178 // Make an hsplit for the icon, name, and status icons
178- gui_make_hsplit (& status_parent , GUI_SPLIT_RELATIVE , 5 , 10 , 57 , 8 , 8 , 17 );
179+ gui_make_hsplit (& status_parent , GUI_SPLIT_RELATIVE , 5 , 10 , HOME_SCREEN_STATUS_BAR_TITLE_WIDTH_PERCENT , 8 , 8 , 17 );
179180 gui_set_padding (status_parent , GUI_MARGIN_ALL_DIFFERENT , 3 , 0 , 0 , 4 );
180181 gui_set_parent (status_parent , status_bar .root );
181182
0 commit comments