Hi,
On Feb 16, 2016, at 2:38 PM, Sean P. DeNigris sean@clipperadams.com wrote:
Tudor Girba-2 wrote
Change GLMMorphPresentation and GLMMorphicMorphRenderer to support this by default and make it configurable :).
Yes, but what I'm asking is how! So far, I've been unsuccessful :/
Could you give me the code for "Fit to Width"?
Tudor Girba-2 wrote
You can also try to use GLMPresentation>>initialize: which gets triggered after the presentation is installed.
But apparently this is sent before #renderGlamorouslyOn:, so the scroll morph and target don't exist yet. Even if I #fitWidth in renderGlamorouslyOn: itself, the morph has still not been added to the pane yet, so it doesn't know what size it needs to adapt to, and seems to "fit" itself into a tiny default size.
Aha. Ok, then we have to change GLMMorphPresentation.
Doru
Cheers, Sean -- View this message in context: http://forum.world.st/GT-Presentation-Auto-Fit-Morph-tp4877731p4877887.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
"Beauty is where we see it."