On Mon, Mar 19, 2012 at 8:07 PM, Leif Middelschulte
<[email protected]> wrote:
> 2012/3/19 Hyoyoung Chang <[email protected]>:
>> On Mon, Mar 19, 2012 at 1:20 AM, Leif Middelschulte
>> <[email protected]> wrote:
>>> 2012/3/18 Hyoyoung Chang <[email protected]>:
>>>> Hello
>>>>
>>>> I think the behavior of scroller gravity is similar with edje.
>>>> If y is set as 1.0, then scroller sticks bottom of its parent.
>>> Parent? I guess the common perception of a scroller is that it has a
>>> child (the content/stuff you want to "navigate" in) instead of a
>>> parent. Also you use elm_object_content_set with it.
>>> So either we should rename it to "parent_gravity" or y == 1.0 should
>>> keep it scrolling down, since y==1.0 is the bottom most region in
>>> edje.
>>
>> Ah sorry, I mean child. i don't know why i write as parent. maybe my
>> sleep head makes a mistake :P
>> so do you think y == 1.0 is scrolling down?
> yes, since 1.0 usually references the bottom most position in edje's
> relative coordinate system.
gravity set is order to keep scroller current position.
if you set as y(1.0) and prepending item to its child,
scroller will show you current bottom area.
so i think it has similar semantics of edje. doesn't it?
maybe it's clear to rename to elm_scroller_pan_gravity_set.
but i think current name is a not bad.
>>
>>>>
>>>> At the document of api, yes i agree. it's ambiguous what's doing.
>>>> Maybe the comment should be updated clearly. It's better to more be
>>>> elaborate with examples.
>>>>
>>>> On Mon, Mar 19, 2012 at 12:47 AM, Leif Middelschulte
>>>> <[email protected]> wrote:
>>>>> Hey all,
>>>>>
>>>>> playing with scroller, I noticed - for my perception - some weird value 
>>>>> meaning.
>>>>>
>>>>> y gravity == 0.0 means bottom most, while 1.0 means topmost. This is
>>>>> contrary to edje's style of y == 1.0 means bottom.
>>>>>
>>>>> Or am I misunderstanding this?
>>>>>
>>>>> --
>>>>> Leif
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> This SF email is sponsosred by:
>>>>> Try Windows Azure free for 90 days Click Here
>>>>> http://p.sf.net/sfu/sfd2d-msazure
>>>>> _______________________________________________
>>>>> enlightenment-devel mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>>>>
>>>> ------------------------------------------------------------------------------
>>>> This SF email is sponsosred by:
>>>> Try Windows Azure free for 90 days Click Here
>>>> http://p.sf.net/sfu/sfd2d-msazure
>>>> _______________________________________________
>>>> enlightenment-devel mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>>>
>>>
>>>
>>> --
>>> Leif
>>>
>>> ------------------------------------------------------------------------------
>>> This SF email is sponsosred by:
>>> Try Windows Azure free for 90 days Click Here
>>> http://p.sf.net/sfu/sfd2d-msazure
>>> _______________________________________________
>>> enlightenment-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>>
>> ------------------------------------------------------------------------------
>> This SF email is sponsosred by:
>> Try Windows Azure free for 90 days Click Here
>> http://p.sf.net/sfu/sfd2d-msazure
>> _______________________________________________
>> enlightenment-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
>
>
> --
> Leif
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to