|
|
Re: zoom and connection-width [message #231512 is a reply to message #231450] |
Fri, 09 March 2007 13:28 |
Andreas Schosser Messages: 30 Registered: July 2009 |
Member |
|
|
Hi Anthony,
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).
Thanks,
Andreas
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.
>
> Cheers...
> Anthony
>
> "A. Schosser" <andreas.schosser@mind8.com> wrote in message
> news:esmhht$27j$1@utils.eclipse.org...
>> Hello,
>>
>> 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,
>>
>> Andreas
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04602 seconds