[Sugar-devel] [DESIGN] replace combo box on language panel

Manuel Quiñones manuq at laptop.org
Wed Mar 5 14:37:59 EST 2014


2014-03-05 16:35 GMT-03:00 Walter Bender <walter.bender at gmail.com>:
> On Wed, Mar 5, 2014 at 2:29 PM, Manuel Quiñones <manuq at laptop.org> wrote:
>> 2014-03-05 15:49 GMT-03:00 Walter Bender <walter.bender at gmail.com>:
>>> On Wed, Mar 5, 2014 at 8:01 AM, Manuel Quiñones <manuq at laptop.org> wrote:
>>>> 2014-03-05 9:58 GMT-03:00 Walter Bender <walter.bender at gmail.com>:
>>>>> Maybe I should not use ellipsis at all for this.
>>>>>
>>>>> Re Manuq's suggestion to use an invoker, I struggled with that: It
>>>>> popped the palette up into a separate window that was not selectable
>>>>> :P But I agree, some way to better tie the button and palette together
>>>>> visually would be good. I'll play around with some ideas.
>>>>
>>>> otherwise just remove the palette look (black background, white
>>>> foreground) and use a grey border as container (like comments in
>>>> journal details)
>>>>
>>>
>>> I am mimicking the look and feel of the Journal now [1].
>>
>> Looking great.
>>
>> What was the rationale behind 4 columns for language and 3 for
>> country?  The list is longer? Just curious.
>
> I set the max width for the widget to to be screen width / 2. But I
> use few columns if I don't need them. Only a few languages have as
> many locale variants as Spanish.
>
> BTW, I think there is a missing translation somewhere. Only Spanish
> doesn't seem to get translated. All the other language names do. (This
> is when the language is set to Spanish). I don't think this was a bug
> I introduced.

might be http://bugs.sugarlabs.org/ticket/4449

> Also, note that I do sort the country names alphabetically. It is not
> correct in the illustration.

excellent!

>
> regards.
>
> -walter
>>
>>> Code available at [2].
>>>
>>> regards.
>>>
>>> -walter
>>>
>>> [1] http://wiki.sugarlabs.org/images/5/5a/Language-country.png
>>> [2] https://github.com/walterbender/sugar/blob/language-2/extensions/cpsection/language/view.py
>>>
>>>> somehow we'll find a way :)
>>>>
>>>>>
>>>>> On Wed, Mar 5, 2014 at 7:53 AM, Gonzalo Odiard <godiard at sugarlabs.org> wrote:
>>>>>> There are more space in the panel, is possible enlarge the paletted to
>>>>>> reduce
>>>>>> the number of elipsed Languages/Countries.
>>>>>>
>>>>>> Also, I found elipsing in the middle less useful than in the end,
>>>>>> there are any reason to use it?
>>>>>>
>>>>>> Gonzalo
>>>>>>
>>>>>>
>>>>>> On Wed, Mar 5, 2014 at 9:43 AM, Manuel Quiñones <manuq at laptop.org> wrote:
>>>>>>>
>>>>>>> oh, great!
>>>>>>>
>>>>>>> 2014-03-04 20:50 GMT-03:00 Walter Bender <walter.bender at gmail.com>:
>>>>>>> > Made a second pass at this (recall last week I submitted a patch to
>>>>>>> > break the crazy long combo box into two separate combo boxes: one for
>>>>>>> > language and one for country). Now I have replaced the combo boxes
>>>>>>> > with palettes, which are arguably more efficient and easier to use on
>>>>>>> > touch.
>>>>>>> >
>>>>>>> > See
>>>>>>> > http://wiki.sugarlabs.org/go/Features/Replace_combo_box_in_language_panel
>>>>>>>
>>>>>>> beware text being cropped:
>>>>>>>
>>>>>>> http://sugarlabs.org/~manuq/lang1.png
>>>>>>>
>>>>>>> much better if it looks more like a sugar palette (just rapid mockup
>>>>>>> here):
>>>>>>>
>>>>>>> http://sugarlabs.org/~manuq/lang2.png
>>>>>>>
>>>>>>> maybe the palette invoker contains the text label too?
>>>>>>>
>>>>>>> --
>>>>>>> .. manuq ..
>>>>>>> _______________________________________________
>>>>>>> Sugar-devel mailing list
>>>>>>> Sugar-devel at lists.sugarlabs.org
>>>>>>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Gonzalo Odiard
>>>>>>
>>>>>> SugarLabs - Learning Software for children
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Walter Bender
>>>>> Sugar Labs
>>>>> http://www.sugarlabs.org
>>>>> _______________________________________________
>>>>> Sugar-devel mailing list
>>>>> Sugar-devel at lists.sugarlabs.org
>>>>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>>>
>>>>
>>>>
>>>> --
>>>> .. manuq ..
>>>
>>>
>>>
>>> --
>>> Walter Bender
>>> Sugar Labs
>>> http://www.sugarlabs.org
>>> _______________________________________________
>>> Sugar-devel mailing list
>>> Sugar-devel at lists.sugarlabs.org
>>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>
>>
>>
>> --
>> .. manuq ..
>
>
>
> --
> Walter Bender
> Sugar Labs
> http://www.sugarlabs.org
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel



-- 
.. manuq ..


More information about the Sugar-devel mailing list