Bug 107853 - Need GridLayout column widths and row heights as an API
Summary: Need GridLayout column widths and row heights as an API
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Veronika Irvine CLA
QA Contact:
URL:
Whiteboard:
Keywords: api
Depends on:
Blocks:
 
Reported: 2005-08-24 10:33 EDT by Peter Walker CLA
Modified: 2019-09-06 15:30 EDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.