Issue 1107 in moose-technology: problem with centring the view on the elements

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Issue 1107 in moose-technology: problem with centring the view on the elements

moose-technology
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium Component-Roassal

New issue 1107 by [hidden email]: problem with centring the view on  
the elements
https://code.google.com/p/moose-technology/issues/detail?id=1107

I have to manually press the center button. Would be great to have this  
automatically.


 From Andrei Chis:

Right now Glamour does not offer a solution for sending notifications when  
a morph is added to another morph, as the actual adding of a morph is done  
in morphic. However morphic calls #noteNewOwner: on the TRMorph the first  
time it has been added to a new morph (or when the owner of a morph  
changes). Implementing TRMorph>>noteNewOwner: like below would  
automatically shrink and center the canvas to the available space of the  
parent every time TRMorph is added to a new morph. Though I'm not sure this  
is something you might want all the time. I could add an option in glamour  
that could be set then on TRMorph.

noteNewOwner: aMorph
        self trachelCanvas focusOnCenterScaled. self signalUpdate


--
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev