grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
From: Andrey Borzenkov <arvidjaar@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Cc: grub-dev@prpcompany.com
Subject: Re: Grub2 theme bug with relative numeric values for boot_menu?
Date: Mon, 2 Jun 2014 17:59:59 +0400	[thread overview]
Message-ID: <20140602175959.70ab0329@opensuse.site> (raw)
In-Reply-To: <5383BDEB.8000801@prpcompany.com>

В Mon, 26 May 2014 18:19:23 -0400
John Hupp <grub-dev@prpcompany.com> пишет:

> 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	other threads:[~2014-06-02 14:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-26 22:19 Grub2 theme bug with relative numeric values for boot_menu? John Hupp
2014-06-02 13:59 ` Andrey Borzenkov [this message]
2014-06-02 16:06   ` John Hupp
2014-06-02 16:47     ` Andrey Borzenkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140602175959.70ab0329@opensuse.site \
    --to=arvidjaar@gmail.com \
    --cc=grub-dev@prpcompany.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).