ui/ncurses: Expand cancel & help button width
[petitboot] / ui / ncurses / nc-add-url.c
index b1a31dd391cff155ee13707027187662543d774b..f8273a29ace0ac9177bc103820f85c24f05e08f2 100644 (file)
@@ -191,7 +191,7 @@ static void add_url_screen_layout_widgets(struct add_url_screen *screen)
        widget_move(widget_button_base(screen->widgets.help_b),
                y, screen->field_x + 10);
        widget_move(widget_button_base(screen->widgets.cancel_b),
-               y, screen->field_x + 20);
+               y, screen->field_x + 23);
 }
 
 static void add_url_screen_setup_widgets(struct add_url_screen *screen)
@@ -207,9 +207,9 @@ static void add_url_screen_setup_widgets(struct add_url_screen *screen)
 
        screen->widgets.ok_b = widget_new_button(set, 0, 0, 6, _("OK"),
                        ok_click, screen);
-       screen->widgets.help_b = widget_new_button(set, 0, 0, 6, _("Help"),
+       screen->widgets.help_b = widget_new_button(set, 0, 0, 9, _("Help"),
                        help_click, screen);
-       screen->widgets.cancel_b = widget_new_button(set, 0, 0, 6, _("Cancel"),
+       screen->widgets.cancel_b = widget_new_button(set, 0, 0, 9, _("Cancel"),
                        cancel_click, screen);
 }