Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 301995

Summary: Support option to set only positive coordinates for children figures in FreeformLayout
Product: [Tools] GEF Reporter: Alex Boyko <aboyko>
Component: GEF-Legacy Draw2dAssignee: Alex Boyko <aboyko>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ahunter.eclipse, crevells
Version: 3.5   
Target Milestone: 3.6.0 (Helios) M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
patch none

Description Alex Boyko CLA 2010-02-05 13:52:55 EST
Created attachment 158339 [details]
patch

A FreeformFigure encapsulated into ScrollPane will result in always showing scrollbars when a shape appears in negative coordinate space. This can be resolved by having all children of the freeform figure in positive coordinates space. An option on the FreeformLayout to do that would be convenient.

The option by default is off, hence same behavior unless new API is used.
Comment 1 Alex Boyko CLA 2010-02-05 14:09:03 EST
Cherie reviewed the fix.

Committed for 3.6