Bug 107853

Summary: Need GridLayout column widths and row heights as an API
Product: [Eclipse Project] Platform Reporter: Peter Walker <walkerp>
Component: SWTAssignee: Veronika Irvine <veronika_irvine>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: gmendel, richkulp, slubicki, steve_northover, Tod_Creasey, Winchest
Version: 3.1Keywords: api
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Peter Walker CLA 2005-08-24 10:33:21 EDT
The Visual Editor provides the capability to draw grid lines in a Composite that
has a grid layout. This provides visualization cues for the user in order to
drag/drop/move controls within the Composite.

In order to draw acurate grid lines, VE needs to know the column widths and row
heights of the grid based on the position of the children after the layout is
complete.

The way this is done today is VE uses algorithms similar to the way
GridLayout.layout works such that the lines are fairly accurate but this
requires a lot maintenance and updating everytime the SWT GridLayout changes.

Please provide the capability to get the column widths and row heights from the
GridLayout instance.
Comment 1 Tod Creasey CLA 2007-08-10 08:56:42 EDT
Please consider for 3.4
Comment 2 Eclipse Webmaster CLA 2019-09-06 15:30:50 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.