|Re: zoom and connection-width [message #231512 is a reply to message #231450]
||Fri, 09 March 2007 13:28
| Andreas Schosser
Registered: July 2009
thanks for your advice. My connection edit-parts do listen to the
ScalableRootEditPart's ZoomManager now and scaling looks pretty good
when zooming iniside the editor part.
But unfortunately, the ScrollableThumbnail placed inside my overview
ContentOutlinePage is unable to handle the scaled connections. The
thumbnail-connections now show the same line-width as connections shown
inside the editor view.
I tried to change the ContentOutlinePage implementation, but finally got
stuck againg. Both in the editor-part and the ContentOutlinePage I am
using the same GraphicalViewer (for synchronisation).
Anthony Hunter wrote:
> Hi Andreas,
> This is expected default behaviour. You will need to listen to zoom changes
> and adjust the line thickness automatically to get the effect you are
> looking for.
> "A. Schosser" <email@example.com> wrote in message
>> in my GEF diagrams polyline-connections seem not to be scaled correctly.
>> If I change the line-width of a connection (a polyline) to a wider value
>> (e.g. 6 pixels) and zoom-in (or zoom-out), the line-width always sticks to
>> the same number (6 pixel).
>> Taking a closer look at the logic-example I discovered, that 1 pixel
>> connections are not scaled either.
>> Does anybody know a solution for this? Should i open a bug?
>> Kind regards,
Powered by FUDForum
. Page generated in 0.01791 seconds