Skip to content

Commit

Permalink
Set size of Print Preview window and do not open the window maximized
Browse files Browse the repository at this point in the history
  • Loading branch information
helge17 committed Jul 5, 2024
1 parent 366d8b2 commit 7a95b8e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ public void show() {
this.dialog.addDisposeListener(disposeListener);
}

TGDialogUtil.openDialog(this.dialog, TGDialogUtil.OPEN_STYLE_MAXIMIZED);
this.dialog.setBounds(new UIRectangle(new UISize(this.size.getWidth() + 80f, 600f)));
TGDialogUtil.openDialog(this.dialog, TGDialogUtil.OPEN_STYLE_LAYOUT);
}

private void initToolBar(){
Expand Down

0 comments on commit 7a95b8e

Please sign in to comment.