* grub-core/gfxmenu/gui_list.c: Minimal width fixed.

This commit is contained in:
Vladimir Testov 2013-08-15 16:10:45 +04:00
parent 369508b3cb
commit 58ec39c6a7
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2013-08-15 Vladimir Testov <vladimir.testov@gmail.com>
* grub-core/gfxmenu/gui_list.c: Minimal width fixed.
2013-08-14 Avik Sil <aviksil@in.ibm.com>
* grub-core/net/tftp.c: Send tftp ack packet before closing the socket.

View file

@ -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