Commit 7c594c00 authored by Romain Bioteau's avatar Romain Bioteau
Browse files

BS-9477

parent 46e634e6
......@@ -102,7 +102,10 @@ public abstract class AbstractCheckboxLabelProvider extends StyledCellLabelProvi
final Shell shell = new Shell(SWT.NO_TRIM);
shell.setVisible(false);
shell.setLocation(0, 0);
final Rectangle bounds = display.getBounds();
final int h = bounds.height / 2;
final int w = bounds.width / 2;
shell.setLocation(w, h);
// otherwise we have a default gray color
shell.setBackground(greenScreen);
......
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