> Would it not be good to put classic pharo
scrollbars (as was the case with Mondrian, see the attached screenshot from a mondrian
visualization) for Roassal visualizations?
This is not possible for several reasons:
- if I had Morphic scrollbar, then keeping Roassal dialect independent will be harder
- I would like Roassal to be _really_ scalable in the future (my goal is 1 000 000
nodes). Relying on Morphic for the scrolling may impede this goal.
I will try to come with an implementation for this soon.
Cheers,
Alexandre
>
> regards,
> Usman
> <image.png>
> On Mon, Sep 17, 2012 at 2:37 PM, Alexandre Bergel <alexandre.bergel(a)me.com>
wrote:
> Hi Usman,
>
> I have been slow on this. Thanks for pushing!
> I will try to come with an implementation for next Sunday.
>
> Cheers,
> Alexandre
>
>
> On Sep 16, 2012, at 8:48 AM, Usman Bhatti <usman.bhatti(a)gmail.com> wrote:
>
>> Hi Alex,
>>
>> Do you plan to evolve progress bars in Roassal in the direction suggested by
Doru?
>>
>> usman
>>
>> On Wed, Jun 6, 2012 at 7:58 AM, Tudor Girba <tudor(a)tudorgirba.com> wrote:
>> Hi Alex,
>>
>> Interesting, but it should be different :):
>> - the main purpose of the scrollbar is to show the position of the visible part
within the overall canvas. However, currently, the size of the scroll bar is constant, and
thus it does not solve the goal. To solve this, we need to be able to react to ROCamera
bounds change events.
>> - furthermore, when scrolling by clicking and dragging on the canvas, the
scrollbars do not get updated (even worse, the vertical one disappears).
>> - another characteristic of a scrollbar is to not be intrusive. We learnt that
from Apple that we actually not need a scrollbar when we have a good way to scroll. So,
the bars should be transparent and thinner.
>>
>> Cheers,
>> Doru
>>
>>
>> On 5 Jun 2012, at 23:24, Alexandre Bergel wrote:
>>
>>> I started to work on it. Not perfect, but a good start I feel. Feel free to
try:
>>> -=-=-=-=-=-=-=-=-=-=-=-=
>>> | view els stack |
>>> view := ROView new.
>>> view add: ROElement sprite.
>>>
>>> els := ROElement spritesFor: (1 to: 500).
>>> els do: [ :el | el + ROLabel @ ROPopup ].
>>> view addAll: (ROGridLayout on: els).
>>> view @ RODraggable .
>>>
>>> stack := ROViewStack new.
>>> stack addView: view.
>>> stack @ ROScrollbable.
>>> stack open.
>>> -=-=-=-=-=-=-=-=-=-=-=-=
>>>
>>> Cheers,
>>> Alexandre
>>>
>>> On Jun 4, 2012, at 10:28 PM, Usman Bhatti wrote:
>>>
>>>> Hello,
>>>>
>>>> How to we add horizontal and vertical scroll bars to a Roassal
visualization. I browsed through some examples but could not find one with these.
>>>>
>>>> tx.
>>>> usman
>>>> _______________________________________________
>>>> Moose-dev mailing list
>>>> Moose-dev(a)iam.unibe.ch
>>>>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>
>>> --
>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>> Alexandre Bergel
http://www.bergel.eu
>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>
>>>
>>>
>>> _______________________________________________
>>> Moose-dev mailing list
>>> Moose-dev(a)iam.unibe.ch
>>>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>> --
>>
www.tudorgirba.com
>>
>> "Every thing should have the right to be different."
>>
>>
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> Moose-dev(a)iam.unibe.ch
>>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>> _______________________________________________
>> Moose-dev mailing list
>> Moose-dev(a)iam.unibe.ch
>>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel
http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
> _______________________________________________
> Moose-dev mailing list
> Moose-dev(a)iam.unibe.ch
>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> _______________________________________________
> Moose-dev mailing list
> Moose-dev(a)iam.unibe.ch
>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch