Similarly to nc-subset, extend the maximum height of the boot-editor pad
to account for the fields of the device select potentially wrapping due
to long device names.
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
static int pad_height(int blockdevs_height)
{
static int pad_height(int blockdevs_height)
{
- return 10 + blockdevs_height;
+ return 10 + (2 * blockdevs_height);
}
static void boot_editor_layout_widgets(struct boot_editor *boot_editor)
}
static void boot_editor_layout_widgets(struct boot_editor *boot_editor)