Commit 487a1235 authored by helene ortiz's avatar helene ortiz
Browse files

increase window width

parent 4bae40f9
......@@ -133,6 +133,7 @@ public class SWTLoggerWindow extends LoggerWindow {
GridData userNameTextGridData = (GridData)userNameText.getText().getLayoutData();
userNameText.setFont(SWTFontFactory.getTitleFont());
userNameTextGridData.exclude = true;
userNameText.getText().setVisible(false);
userCombo.addSelectionListener(new SelectionAdapter() {
@Override
......@@ -189,7 +190,7 @@ public class SWTLoggerWindow extends LoggerWindow {
@Override
public final void open() {
if (init()) {
shell.setSize(800, 425);
shell.setSize(850, 425);
shell.setLocation(GraphicalUtilities.getInstance().getCenterX(parentShell.getBounds().x, parentShell.getBounds().width) - shell.getBounds().width / 2, GraphicalUtilities.getInstance().getCenterY(parentShell.getBounds().y, parentShell.getBounds().height) - shell.getBounds().height / 2);
shell.open();
userNameText.setFocus();
......
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