On Wed, May 23, 2012 at 6:51 AM, Daniel Juyung Seo <[email protected]> wrote:
> Hello,
>
> On Wed, May 23, 2012 at 3:51 PM, Jaehwan Kim <[email protected]> 
> wrote:
>> Dear Gustavo
>>
>>
>> 2012년 5월 23일 수요일에 Gustavo Sverzut Barbieri님이 작성:
>>
>>> Hi,
>>>
>>> what's the use case in setting a maximum number of items manually?
>>>
>>
>> If we want to expand the size of items as window size, we will use
>> ELM_TOOLBAR_SHRINK_EXPAND mode.
>> At that time, if the items are more than what we want to show, we should
>> limit the number of visible items.
>
> For me this requirement looks weird. Why we limit the number of items
> and put the rest items into more option even though we have enough
> space?
>
>> So I limited by using maximum number.
>> If I want to show 5 items among the 12 items regardless of window size, is
>> there any other method?
>>
>
> And yes you're right. If someone really wants to have this ugliness,
> your commit is needed.
>
>>
>>> To me this seems like a hack. It should be defined based on the available
>>> space. Otherwise you'll get horrible user interfaces by changing screen
>>> resolution, or even screen orientation in mobile devices.
>>>
>>
>> In current toolbar, there are more item. If the more item is clicked, the
>> menu widget is shown the below of toolbar.
>> It is shown not available space, too.
>> I think the location of more panel is not a problem. If there are some ugly
>> user interface by changing resolution, I'll fix it.
>>
>> Thanks for your advice and if there is any alternative, please explain it.
>
> Please ask them why they need this feature.

I totally agree on Seoz points. First have them to prove why this is
the case, otherwise you introduce new code that is unneeded and people
have to maintain it... and if I know designers well, you'll have to
later change your code because they will change their mind, then the
code is unused by everyone :-/

And being a hack, I'd leave the hack to other places instead of
Elementary. In your case, you can place the toolbar inside a box, and
add padding rectangles to sides. Then you calculate the toolbar item
size, the amount needed, resize the padding rectangles to force
toolbar to be resized. Ugly as hell, but better in your app than in
Elementary.

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: [email protected]
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to