|
|
|
|
Re: Scrollbars not update when moving element off screen [message #530825 is a reply to message #530596] |
Sat, 01 May 2010 11:29 |
h1055071 Messages: 335 Registered: July 2009 |
Senior Member |
|
|
On 30/04/2010 10:22, Matthew Dickie wrote:
> On 29/04/2010 21:07, Phillipus wrote:
>>
>> What figure do you use? Maybe you need a FreeformLayer?
>
> Hi Phil,
>
> I use a ScalableRootEditPart. The figure used then would be the one
> created by the createFigure() method of this class, which then uses
> createLayers(). Should I create a subclass and override this to add a
> FreeformLayer?
>
> The API for anything Freeform suggests that this is for situations where
> objects can have negative X and Y co-ordinates. I don't want this.
>
> ScalableRootEditPart does use a Viewport, and when I move objects, the
> method Viewport.readjustScrollBars() is called, but the values never
> change. I'm now investigating why that is. I may try using a
> FreeformLayer though. Where would I do this?
>
Actually, I mean the figure of your root diagram model Edit Part, the
one that represents the root of you model, the diagram.
|
|
|
|
Powered by
FUDForum. Page generated in 0.02084 seconds