Révision 3735
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/swt/widget/TXMParameterControl.java (revision 3735) | ||
---|---|---|
78 | 78 |
// adjust the parent GridLayout number of columns |
79 | 79 |
if(parent instanceof GLComposite) { |
80 | 80 |
((GLComposite) parent).getLayout().numColumns++; |
81 |
if(this.label != null) { |
|
82 |
((GLComposite) parent).getLayout().numColumns++; |
|
83 |
} |
|
81 | 84 |
} |
82 | 85 |
// fix the non-ToolItem Control addition to the tool bar using the SWT.SEPARATOR trick, plus the packing and the right width setting. |
83 | 86 |
else if(parent instanceof TXMEditorToolBar) { |
Formats disponibles : Unified diff