Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MuRXl-0007fd-W5 for mharc-grub-devel@gnu.org; Sun, 04 Oct 2009 09:54:34 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MuRXk-0007fY-8j for grub-devel@gnu.org; Sun, 04 Oct 2009 09:54:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MuRXe-0007fM-Px for grub-devel@gnu.org; Sun, 04 Oct 2009 09:54:31 -0400 Received: from [199.232.76.173] (port=48731 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MuRXe-0007fJ-LA for grub-devel@gnu.org; Sun, 04 Oct 2009 09:54:26 -0400 Received: from mail-pz0-f171.google.com ([209.85.222.171]:52020) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MuRXd-0006xe-Pz for grub-devel@gnu.org; Sun, 04 Oct 2009 09:54:26 -0400 Received: by pzk1 with SMTP id 1so2206044pzk.27 for ; Sun, 04 Oct 2009 06:54:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=LgsZG8yJzcJ6ijuvGTcKeT2nX7IsKIx65Bi81WJXk1Y=; b=VyuddbUDYN59zWigVjZ09uhwKUpnuTcwjFWIbnYoPe5pTncO945MPh1B6DH/XXi8K3 jTBgBtB93EsZMdXMrE1Tr7yDhABHAslE3iddWi4uUZBMzN2aqeVibOZR4fs1cKMSBztn dzdkNqbQwwFulzHHf3IdbZEl0XXzeNnfN0gS0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=ijSFZ69/aCpMT8K/B8gDUcBnC/IqYVtMXCtQhaPBPbhuX/83f3YhBUZH9NWbFNs3+q h+2gJL7h9+c0rzBvBpMVVIhwUA2Ydb7azqGP20lK5qB3YknPSmwPuDVOYcqDSiZX3zDy fpm/5dQkVFByySwr742t+i/pl+qoNpKSgJ03A= MIME-Version: 1.0 Received: by 10.141.19.5 with SMTP id w5mr843009rvi.293.1254664464859; Sun, 04 Oct 2009 06:54:24 -0700 (PDT) In-Reply-To: References: Date: Sun, 4 Oct 2009 21:54:24 +0800 Message-ID: From: Bean To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: [GITGRUB] New menu interface (implementation) X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Oct 2009 13:54:32 -0000 On Sun, Oct 4, 2009 at 7:22 PM, Michal Suchanek wrote= : > Hi > > I only tried running the sample, did not look how things are done yet. > > The major problem is that the panels are not sorted in any way so the > navigation is very confusing. There should be only a single toplevel > panel which contains all active elements in a layout. > > However, when I put everything into a single panel I still get issues: > > =A0- the content is not inside the panel border > =A0- focus is on an invisible element, not the first element Hi, Oh, that's a small bug, easy to fix. > =A0- panels are not ordered left to right as specified I don't understand, it looks left to right to me. Or do you mean that small bar in the bottom ? It has margin_bottom set so that it sticks to the border. > > There is an issue with setting the border and margins. > =A0- if I set all margins to the same number the horizontal and vertical > margins are different which is quite ugly The default unit is character, which have different width and height value, you can use the pixel format as: border_width =3D "5/1" border_height =3D "5/1" Then width/height would be 5 pixel in graphic mode. > =A0- the border settings offer many options but I miss the option for > =A0 - setting the text border explicitly to single/double border > without using an image I think image is most flexible, who want ascii border in graphic mode ? BTW, border in graphic mode doesn't necessary be full character size, so text may not draw properly anyway. About the single/double border, it's more suitable to config them using styles other that property. > =A0 - replicating similar effect in graphics (that is setting a few > pixel border with some space on either side - margin should set the > outer space but I am not sure about the inner space) > =A0- background bitmap does not cover margins. I am not sure if it is > desirable to cover them, though. CSS works that way but I am sure some > systems work differently. I don't understand, can you be more specific ? --=20 Bean gitgrub home: http://github.com/grub/grub/ my fork page: http://github.com/bean123/grub/