Commit ca298e2c authored by Romain Bioteau's avatar Romain Bioteau
Browse files

fix glitching decorator display in generated connector pages

parent 98870b3d
......@@ -84,13 +84,13 @@ public class CheckBoxExpressionViewer extends ExpressionViewer implements Expres
if ((style & SWT.BORDER) != 0) {//Not in a table
createSwitchEditorControl(widgetFactory);
}
addDecorator();
addDecorator(composite);
mc.show(checkBoxControl);
mc.hide(control);
}
private void addDecorator() {
checkBoxDecoration = new ControlDecoration(checkBoxControl, SWT.RIGHT);
private void addDecorator(final Composite composite) {
checkBoxDecoration = new ControlDecoration(checkBoxControl, SWT.RIGHT, composite);
checkBoxDecoration.setImage(Pics.getImage(PicsConstants.hint));
refreshDecoration();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment