Summary: | HTML table layout | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Dejan Glozic <dejan> |
Component: | SWT | Assignee: | Veronika Irvine <veronika_irvine> |
Status: | NEW --- | QA Contact: | |
Severity: | enhancement | ||
Priority: | P4 | CC: | markus.kell.r, mlists, steve_northover, susan, szeiger, veronika_irvine |
Version: | 2.0 | Keywords: | helpwanted |
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: |
Description
Dejan Glozic
2001-10-22 18:57:47 EDT
DG should consider implementing this layout if interested in it. Also, see the new FormLayout class, since it has more powerful capabilities. Moving from Later. I believe the new SWT GridLayout (in HEAD) behaves as described. Care to elaborate? *** Bug 83403 has been marked as a duplicate of this bug. *** It would be very useful if this layout allowed empty cells i.e. if the table layout data allow the column and row index for a control to be specified Agree with comment 6. Allowing blanks will allow more of an HTML layout style. Refactoring the HTML layout from forms into SWT makes sense. Update: 1) GridLayout supports items that change height as their width changes (e.g. Labels with wrapped text). This support was added in Eclipse 3.1. Like HTML Table Layout, it uses a two pass approach. 2) Finer control of the width of widgets in a GridLayout can be obtained using GridData.minimumWidth - also added in Eclipse 3.1. With the minimum width, you can have a widget that expands to take up available space but will not shrink to a size less than the minimum width. You can also exclude widgets from the GridLayout using GridData.exclude. 3) DG has contributed a layout called TableWrapLayout which can be found in org.eclipse.ui.forms.widgets 4) I have added an enhancement request for FormLayout which would make it easier to do vertical alignment: https://bugs.eclipse.org/bugs/show_bug.cgi?id=219206 I am not saying that the above items replace the need for an HTML Table Layout, I am just bring this bug report up to date with the current state of layouts in SWT. 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. |