Summary: | [Forms] label and combo box don't line up | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Wassim Melhem <wassim.melhem> | ||||
Component: | UI | Assignee: | Dejan Glozic <dejan> | ||||
Status: | RESOLVED WORKSFORME | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | Keywords: | polish | ||||
Version: | 3.1 | ||||||
Target Milestone: | --- | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Wassim Melhem
2005-03-23 17:07:46 EST
Created attachment 19146 [details]
uneven label and combo box
The code above has several problems: 1) matchLabel has TableWrapData that has 'MIDDLE' set using the wrong constructor (align). I will add Assert to check for values. 2) One line is missing for combo: fMatchCombo = new ComboPart(); fMatchCombo.createControl(client, toolkit, SWT.READ_ONLY); TableWrapData td = new TableWrapData(TableWrapData.FILL); td.colspan = 2; td.valign = TableWrapData.MIDDLE; <--- missing My tests show that with these changes the layout class works correctly. |