Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » IFigures on LWS on Canvas(problems with IFigure position on resize)
icon5.gif  IFigures on LWS on Canvas [message #771473] Tue, 27 December 2011 10:55 Go to next message
Ludwig Moser is currently offline Ludwig MoserFriend
Messages: 476
Registered: July 2009
Senior Member
Hello,

in my application my canvas is inside of a scrolledcomposite and so if the application gets resized, the scrolledcomposite resizes. so the canvas gets wider, the ifigures loose their fixed position as the content in the scrolledcomposite is always centered, whereat the ifigures are left aligned.

how can i fix this?
i first thought about a controllistener wich updates the position of the ifigures, but thats not a nice solution... as it needs a lot of repainting...

any ideas?

thanks in advance
lumo
Re: IFigures on LWS on Canvas [message #771797 is a reply to message #771473] Wed, 28 December 2011 06:55 Go to previous message
Ludwig Moser is currently offline Ludwig MoserFriend
Messages: 476
Registered: July 2009
Senior Member
or can someone give me a suggestion how to achieve this:

a zoomable figure with scrollbars to move around
Previous Topic:Adding Color to Shapes via Property in GEF BPMN 2 Editor
Next Topic:Draw2d ScalablePolygonShape Issue
Goto Forum:
  


Current Time: Tue Mar 19 10:27:23 GMT 2024

Powered by FUDForum. Page generated in 0.02109 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top