have a look at the solution of the challenge 2 or 3 in the mooc :)


On Thu, Mar 30, 2017 at 3:37 PM, Stephan Eggermont <step...@stack.nl> wrote:

> On 30/03/17 13:24, Peter Uhnak wrote:
>
>> do we have a Morphic/Brick/whatever component for displaying
>> pictures/images in Pharo?
>>
>
> You can combine something with ImageMorph, ImagePreviewMorph, Form and
> TransformMorph. I don't know about mousewheel support, I vaguely remember
> something about mousewheel events being tranformed, and
> forgot if that was vm- or image-side.
>
>
> 1) zooming with mousewheel (now it scrolls vertically)
>> 2) dragging the image around to scroll both vertically and horizontally
>> (now I have to use manually the scrollbars)
>> 3) ideally also buttons like "show 1:1 size", "show fit to window"
>>
>
>
>
>

Reply via email to