[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GITGRUB] New menu interface (implementation)

From: Michal Suchanek
Subject: Re: [GITGRUB] New menu interface (implementation)
Date: Fri, 25 Sep 2009 12:37:10 +0200

2009/9/25 Bean <address@hidden>:
> On Fri, Sep 25, 2009 at 6:13 PM, Michal Suchanek <address@hidden> wrote:
>> 2009/9/25 Bean <address@hidden>:
>>> On Fri, Sep 25, 2009 at 5:46 PM, Michal Suchanek <address@hidden> wrote:
>>>> 2009/9/25 Bean <address@hidden>:
>>>>> On Fri, Sep 25, 2009 at 5:00 PM, Michal Suchanek <address@hidden> 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 one
>>>>>> 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 = 1
>>>>> one column
>>>>> max_columns = 1000  (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  in what row or column a particular
>>>> cell will be. Is such layout useful for anything?
>>> Hi,
>>> If max_columns = 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 = 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]