Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Mr8Au-0000T2-EA for mharc-grub-devel@gnu.org; Fri, 25 Sep 2009 06:37:16 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mr8As-0000Sd-47 for grub-devel@gnu.org; Fri, 25 Sep 2009 06:37:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mr8Aq-0000S9-8n for grub-devel@gnu.org; Fri, 25 Sep 2009 06:37:12 -0400 Received: from [199.232.76.173] (port=35414 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mr8Aq-0000S4-2R for grub-devel@gnu.org; Fri, 25 Sep 2009 06:37:12 -0400 Received: from fg-out-1718.google.com ([72.14.220.156]:55454) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mr8Ap-00032J-OA for grub-devel@gnu.org; Fri, 25 Sep 2009 06:37:11 -0400 Received: by fg-out-1718.google.com with SMTP id e21so105617fga.12 for ; Fri, 25 Sep 2009 03:37:10 -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=AVe1DQucqopTuHn+7gapGyRfIO/5NsM2MrkoS2gvC7c=; b=OYyy8vAw/tctAnE6IVmow8a3R9+Kcd/laAoTCFr9VWTPdUWUGl/ANeASO16zjJQzhw pZ1+vxVQlSh90VeMeRTeWN1sEexU48xD+RNFYBKgBCpOph0UibiNcRNsmMc20E508V+f u2vNxXCo/OdlxfEYevmszposfSuQGmubsSItY= 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=JGSKcg7PijncZmohD3W8AELQnHWaOMIBhFAvRhsLUTMGnB2BGzbWwFHPZiNtDROvL0 zIod6wfyAaDvw420+IEr6xPvxDNdp9xCClQCLDTKijkSpkz9tKX+Dp2uJlL6js04R+La FN0OXzMrDqzC+RxrUe4pHiDIh2aSGiJeY4kcI= MIME-Version: 1.0 Sender: hramrach@gmail.com Received: by 10.86.222.15 with SMTP id u15mr855842fgg.33.1253875030585; Fri, 25 Sep 2009 03:37:10 -0700 (PDT) In-Reply-To: References: Date: Fri, 25 Sep 2009 12:37:10 +0200 X-Google-Sender-Auth: 3dafebc28aeccf19 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 (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: Fri, 25 Sep 2009 10:37:14 -0000 2009/9/25 Bean : > On Fri, Sep 25, 2009 at 6:13 PM, Michal Suchanek wr= ote: >> 2009/9/25 Bean : >>> On Fri, Sep 25, 2009 at 5:46 PM, Michal Suchanek = wrote: >>>> 2009/9/25 Bean : >>>>> On Fri, Sep 25, 2009 at 5:00 PM, Michal Suchanek wrote: >>>>>> If I understand it correctly this means that a panel is a bunch of >>>>>> cells which are laid out horizontally and at some random point (but = at >>>>>> most after max_columns cells) a row break is inserted and the later >>>>>> cells start in a new row. >>>>>> >>>>>> I would prefer a more deterministic approach: the panel is either on= e >>>>>> column or one row (vertical or horizontal). >>>>>> This should cover the common cases, real tables are seldom needed. >>>>> >>>>> Hi, >>>>> >>>>> But max_columns can cover both case, >>>>> >>>>> max_columns =3D 1 >>>>> one column >>>>> >>>>> max_columns =3D 1000 =C2=A0(or any big number) >>>>> one row, we could also use special number -1 to indicate infinite >>>>> number of widgets. >>>>> >>>> >>>> OK, it does but it is quite confusing way of achieving that. >>>> >>>> What do the other possible values give you, though? >>>> >>>> If I set max_colums to 3 then I get rows of 1-3 cells, >>>> non-deterministically. I can't say =C2=A0in what row or column a parti= cular >>>> cell will be. Is such layout useful for anything? >>> >>> Hi, >>> >>> If max_columns =3D 3, then every row has three widgets, except for the >>> last one, which can have 1 or 2 widgets. We can draw n * 3 tables with >>> it. >>> >> >> Then it should perhaps be called simply columns. >> >> However, if you start with tables people will start with why doesn't >> this have colspan/rowspan. >> >> And I really can't imagine using tables in the boot menu. What for? > > Hi, > > For example, we can use large icon to represent boot item, like those > in rEFIt. In this case, we might want to limit the items per line so > that the menu won't get too width. In this case, we can set something > like max_columns =3D 5. If it has more than 5 icons, it would start in > the second row. Note that rEFIt does not wrap the icons, it scrolls them if there are too many. And there is good reason for that, navigating a table is quite tedious, and when a new item is added in the middle the table shifts in ways which make it hard to find previously existing items. It does, however, have tow separate strips of icons. One strip are tool icons, the larger one are the automatically gathered OS icons. Thanks Michal