Hi,
Change GLMMorphPresentation and GLMMorphicMorphRenderer to support this by default and make it configurable :).
You can also try to use GLMPresentation>>initialize: which gets triggered after the presentation is installed.
Cheers, Doru
On Feb 16, 2016, at 3:17 AM, Sean P. DeNigris sean@clipperadams.com wrote:
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. _______________________________________________ Moose-dev mailing list Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
-- www.tudorgirba.com www.feenk.com
"Every now and then stop and ask yourself if the war you're fighting is the right one."