From 58ec39c6a702600c6f722315838bb336e102f7f7 Mon Sep 17 00:00:00 2001 From: Vladimir Testov Date: Thu, 15 Aug 2013 16:10:45 +0400 Subject: [PATCH] * grub-core/gfxmenu/gui_list.c: Minimal width fixed. --- ChangeLog | 4 ++++ grub-core/gfxmenu/gui_list.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d326b2d69..78972a4be 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-08-15 Vladimir Testov + + * grub-core/gfxmenu/gui_list.c: Minimal width fixed. + 2013-08-14 Avik Sil * grub-core/net/tftp.c: Send tftp ack packet before closing the socket. diff --git a/grub-core/gfxmenu/gui_list.c b/grub-core/gfxmenu/gui_list.c index d2e96a7b8..1c437c170 100644 --- a/grub-core/gfxmenu/gui_list.c +++ b/grub-core/gfxmenu/gui_list.c @@ -422,7 +422,8 @@ list_get_minimal_size (void *vself, unsigned *width, unsigned *height) if (*width < width_s) *width = width_s; - *width += 2 * boxpad + box_left_pad + box_right_pad; + *width += 2 * boxpad + box_left_pad + box_right_pad + + self->item_icon_space + self->icon_width; /* Set the menu box height to fit the items. */ *height = (item_height * num_items