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

Bug 159051

Summary: Enhance BorderLayout to center/maintain aspect ratio
Product: [Tools] GEF Reporter: Adam Cabler <acabler>
Component: GEF-Legacy Draw2dAssignee: gef-inbox <gef-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3    
Version: 3.2.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: Bugzilla 3.4 Migration
Attachments:
Description Flags
Override BorderLayout.layout() with this to accomplish my proposal none

Description Adam Cabler CLA 2006-09-27 18:42:42 EDT
I was having a problem with border layout that needed to maintain aspect ratio and scale all the border layers the same as the center.  When zooming, extra space was created and was placed between the center layer and the bottom and right layers.  the center couldn't really expand, so this was just space.  I made the following modification to center the layout instead.

This illustrates my problem:
(top, left, right, center, bottom)
Before zoom:
 ttt
lcccr
lcccr
lcccr
 bbb

After zoom:
 ttt
lccc   r
lccc   r
lccc   r

 bbb
Comment 1 Adam Cabler CLA 2006-09-27 18:45:32 EDT
Created attachment 51048 [details]
Override BorderLayout.layout() with this to accomplish my proposal
Comment 2 Randy Hudson CLA 2006-09-28 09:39:37 EDT
Please attach a test case showing the problem you are trying to solve. There is probably a different way to approach it.
Comment 3 Anthony Hunter CLA 2009-08-24 12:01:50 EDT
LATER and REMIND resolutions will be going away with the upgrade of Bugzilla to the latest Bugzilla 3.4.  They are no longer part of the default Bugzilla installation. See http://dev.eclipse.org/mhonarc/lists/eclipse.org-committers/msg00778.html for the announcement.

As a result 
RESOLVED + REMIND OR LATER 
will be changed to
RESOLVED + WONTFIX

This unfortunately also means I need to REOPEN and then RESOLVE as WONTFIX

Sorry for the inconvenience.
Comment 4 Anthony Hunter CLA 2009-08-24 12:14:53 EDT
LATER and REMIND resolutions will be going away with the upgrade of Bugzilla to the latest Bugzilla 3.4.  They are no longer part of the default Bugzilla installation. See http://dev.eclipse.org/mhonarc/lists/eclipse.org-committers/msg00778.html for the announcement.

As a result 
RESOLVED + REMIND OR LATER 
will be changed to
RESOLVED + WONTFIX

This unfortunately also means I need to REOPEN and then RESOLVE as WONTFIX

Sorry for the inconvenience.