From: Andrey Borzenkov <arvidjaar@gmail.com>
To: John Hupp <grub-dev@prpcompany.com>
Cc: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: Grub2 theme bug with relative numeric values for boot_menu?
Date: Mon, 2 Jun 2014 20:47:27 +0400 [thread overview]
Message-ID: <20140602204727.1f7f1c44@opensuse.site> (raw)
In-Reply-To: <538CA0EB.2030703@prpcompany.com>
В Mon, 02 Jun 2014 12:06:03 -0400
John Hupp <grub-dev@prpcompany.com> пишет:
> >
> >> 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.
>
> I did not know that these properties do not understand proportional
> units. The documentation indicated that ALL numeric property values
> could be absolute or relative/proportional.
I re-checked grub2 manual for 2.00 and it explicitly says that
item_height is in pixel; it lists several properties for which support
for proportional units is explicitly stated. So either you are using
different manual (coming from your distribution?) or probably
misunderstood it. In which case it would help if you suggested
corrections that make it more clear.
I guess that grub simply ignored '%' and interpreted value as absolute
one.
Or your grub does support proportional units for item_height indeed,
then it is distribution-specific patch.
prev parent reply other threads:[~2014-06-02 16:47 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
2014-06-02 16:06 ` John Hupp
2014-06-02 16:47 ` Andrey Borzenkov [this message]
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=20140602204727.1f7f1c44@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).