Skip to main content



      Home
Home » Eclipse Projects » GEF » Update scroll of the FigureCanvas
Update scroll of the FigureCanvas [message #489597] Mon, 05 October 2009 04:06 Go to next message
Eclipse UserFriend
Hi,

Structure :
RootEditPart
- DiagramEditPart
- RectangleFigure

When I update the size of the RectangleFigure (setBounds), The scrollbar is not updated.

When I get down using keys on element inside my RectangleFigure, the bottom of the RectangleFigure is revealed and the scrollbar updated but when I re-up the bottom is re-hidden.

I don't know what is responsible for that...

So if you have any hints, will happy to hear about them

Thanks by advance, hoping I was understandable

Aurelien Pupier
Re: Update scroll of the FigureCanvas [message #489600 is a reply to message #489597] Mon, 05 October 2009 05:06 Go to previous message
Eclipse UserFriend
Hi again, I found some info that I would share in oreder to know if I'm on the right way :

a related post :
http://dev.eclipse.org/newslists/news.eclipse.tools.gef/msg1 4091.html
but there is no real solution

anyway guiding by that I found in FigureCanvas.computeSize :
// TODO Still doesn't handle scrollbar cases, such as when a constrained width
// would require a horizontal scrollbar, and therefore additional height.

Will it be the reason? But why does it work in some "classic" cases?

Previous Topic:adding title while printing GEF editor
Next Topic:Alternative of FreeFormLayer
Goto Forum:
  


Current Time: Wed Jul 23 08:02:36 EDT 2025

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

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

Back to the top