diff options
author | Samuel Mendoza-Jonas <sam.mj@au1.ibm.com> | 2014-09-23 17:32:35 +1000 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam.mj@au1.ibm.com> | 2014-09-23 17:32:35 +1000 |
commit | 563ebfa6e702f917d277d4ea9dd5e9eba17e51f7 (patch) | |
tree | cd092ce3fdeed7602f05c3cf877a65ff2551f487 /ui/ncurses/nc-boot-editor.c | |
parent | d864ccde9ab247585dc3f21b9e6ca60eda0aa414 (diff) | |
download | talos-petitboot-563ebfa6e702f917d277d4ea9dd5e9eba17e51f7.tar.gz talos-petitboot-563ebfa6e702f917d277d4ea9dd5e9eba17e51f7.zip |
ui/ncurses: Expand cancel & help button width
Signed-off-by: Samuel Mendoza-Jonas <sam.mj@au1.ibm.com>
Diffstat (limited to 'ui/ncurses/nc-boot-editor.c')
-rw-r--r-- | ui/ncurses/nc-boot-editor.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/ncurses/nc-boot-editor.c b/ui/ncurses/nc-boot-editor.c index 6da3630..3d4621b 100644 --- a/ui/ncurses/nc-boot-editor.c +++ b/ui/ncurses/nc-boot-editor.c @@ -305,7 +305,7 @@ static void boot_editor_layout_widgets(struct boot_editor *boot_editor) y++; widget_move(widget_button_base(boot_editor->widgets.ok_b), y, 9); widget_move(widget_button_base(boot_editor->widgets.help_b), y, 19); - widget_move(widget_button_base(boot_editor->widgets.cancel_b), y, 29); + widget_move(widget_button_base(boot_editor->widgets.cancel_b), y, 32); } static void boot_editor_widget_focus(struct nc_widget *widget, void *arg) @@ -478,9 +478,9 @@ static void boot_editor_setup_widgets(struct boot_editor *boot_editor, boot_editor->widgets.ok_b = widget_new_button(set, 0, 0, 6, _("OK"), ok_click, boot_editor); - boot_editor->widgets.help_b = widget_new_button(set, 0, 0, 6, + boot_editor->widgets.help_b = widget_new_button(set, 0, 0, 9, _("Help"), help_click, boot_editor); - boot_editor->widgets.cancel_b = widget_new_button(set, 0, 0, 6, + boot_editor->widgets.cancel_b = widget_new_button(set, 0, 0, 9, _("Cancel"), cancel_click, boot_editor); } |