Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MingL-000086-2C for mharc-grub-devel@gnu.org; Wed, 02 Sep 2009 07:07:17 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MingJ-00006d-Nw for grub-devel@gnu.org; Wed, 02 Sep 2009 07:07:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MingC-0008Oi-Lk for grub-devel@gnu.org; Wed, 02 Sep 2009 07:07:13 -0400 Received: from [199.232.76.173] (port=49872 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MingC-0008OH-2g for grub-devel@gnu.org; Wed, 02 Sep 2009 07:07:08 -0400 Received: from mail-fx0-f226.google.com ([209.85.220.226]:52308) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MingB-00085G-64 for grub-devel@gnu.org; Wed, 02 Sep 2009 07:07:07 -0400 Received: by fxm26 with SMTP id 26so833968fxm.42 for ; Wed, 02 Sep 2009 04:07:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=obSdAVwNjJYcwFrSrgFyWOEHC0oJf64oBL3EZsHZhwA=; b=kplhcC+0gvraVcUZCIf2S7/TJ+9bVkClEnnUl7WGn6qoLx02K0IiM/nGtORIhbHbS9 5JzAyzvF/LAaAi02IP1OwFG9uhCtyCC0SIsx1nbt9n53tBaGvVgspCwjPupEjw+8QNIW r4nUzQcx+kWC/Y5Ra6vEVVB1LR29t78lm+XPA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=ZBNw2oGE0ssz1B+zrSjMGfnhql7XZ4mQopaWhVjU/938P6PEBPeVHbU29KBJhO9G9S 6Pj3AuUs4pUxJ6WNeu8hLMo4QTg6R4VV4uSdIm/zsnP/JuidpKu52+s1biO7hMY2/H4z +ScwVPrZ8YDtbN9iTq58tRJrq1GzRAisTCC2M= MIME-Version: 1.0 Sender: hramrach@gmail.com Received: by 10.86.227.1 with SMTP id z1mr2368003fgg.56.1251889624298; Wed, 02 Sep 2009 04:07:04 -0700 (PDT) In-Reply-To: References: Date: Wed, 2 Sep 2009 13:07:04 +0200 X-Google-Sender-Auth: 0fc6adc554a8fcc8 Message-ID: From: Michal Suchanek To: The development of GRUB 2 Content-Type: text/plain; charset=UTF-8 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 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: Wed, 02 Sep 2009 11:07:16 -0000 Hello 2009/9/2 Bean : ... > =C2=A0+ box { > =C2=A0 =C2=A0+ screen { > =C2=A0 =C2=A0 =C2=A0bgimage =3D "splash.png" > =C2=A0 =C2=A0} > =C2=A0} > } Where would this image get displayed? It's highly unlikely it would have the same resolution as the screen box. > > + screen { > =C2=A0+ text { > =C2=A0 =C2=A0class =3D "header" > =C2=A0 =C2=A0x =3D 10 > =C2=A0 =C2=A0y =3D 10 > =C2=A0 =C2=A0text =3D "Welcome" > =C2=A0} > =C2=A0+ menu { > =C2=A0 =C2=A0x =3D 30 > =C2=A0 =C2=A0y =3D 30 > =C2=A0 =C2=A0width =3D 100 > =C2=A0 =C2=A0height =3D 100 > =C2=A0} > } With this kind of placement (x, y) how do you get - a menu with fixed number of components that scales to make best use of available screen space - a scrollable menu with fixed font size that accomodates as many items on the screen as reasonably possible (within some layout constraints such as text/menu borders) In my view the typical requirements are - margins and borders to separate elements - alignment like left, right, center, decimal (could be probably used for version as well) - relative alignment like below, right-of, .. or packing like three-column, 2-span, etc. Specifying pixel coordinates for each item separately is counter-productive and typically not what you want. Thanks Michal