For large images, it can really be a drag to have ImageMorphs always open at
the full size of the form. I added Fit and Fit-Width actions to my Morph
presentations, but I can't figure out how to hook in to have Morphs open
Fit-Width by default. As a hack, I was thinking of trying to fire the action
when the presentation comes up, but I'm not sure how to do that either! Any
suggestions?
I have:
gtInspectorFormIn: composite
<gtInspectorPresentationOrder: 0>
^ composite morph
title: 'Morph';
display: [ self asMorph ]
The morph looked like this:
<http://forum.world.st/file/n4877731/Screenshot_2016-02-15_21.png>
But I want to be fit inside the presentation pane, with no parts cut off.
Here's a screencast of the manual process which I'd like to automate:
https://youtu.be/EsJA0dp6k8c
Thanks in advance!
-----
Cheers,
Sean
--
View this message in context:
http://forum.world.st/GT-Presentation-Auto-Fit-Morph-tp4877731.html
Sent from the Moose mailing list archive at
Nabble.com.