grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Grub2 theme bug with relative numeric values for boot_menu?


From: Andrey Borzenkov
Subject: Re: Grub2 theme bug with relative numeric values for boot_menu?
Date: Mon, 2 Jun 2014 17:59:59 +0400

В Mon, 26 May 2014 18:19:23 -0400
John Hupp <address@hidden> пишет:

> I'm trying to make my theme completely resolution-independent.  You can 
> see a current screen shot at Post your Grub 2 Themes 
> <http://ubuntuforums.org/showthread.php?t=1823915&page=14&p=13031738#post13031738>
> 

Pictures are blocked for guests.

> Grub responded well to % values for the numeric values in the progress 
> bar and labels.  Also OK with %'s for boot_menu properties top, left, 
> height, width.
> 
> But I'm getting bad behavior with item_height and the other properties.  
> For a 1024x768 grub display and an original setting of item_height = 26, 
> I can't get equivalent output unless I set item_height = 27%
> 

These properties do not even understand proportional units. If you are
using modified grub which adds support for it, please post patch,
otherwise it is impossible to make any useful comment.

> So item_height seems to be referencing a parent with a height of about 
> 96, rather than 768.
> 
> This is in a VMWare Player environment running Lubuntu 14.04.
> 
> Is this a known problem, or is there an explanation/workaround?
> 
> (I also realized as I got into this that I will run into a problem with 
> different aspect ratios, so other than creating at least two themes for 
> the commonest aspect ratios, I'd be interested in a tip there as well if 
> there is a solution.)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]