summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
authorkushagrakasliwal1 <2016bit052@sggs.ac.in>2019-03-18 22:51:29 +0530
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2019-03-27 10:05:21 +0100
commit60a3e721aaf9a9220563d045c2387cb2378e607f (patch)
treefd449bac854403c20f01cc4f003b4921c7f4a31f /scripting
parentad47e9b1c0d3f1720665b2786090e8c0927b5b45 (diff)
tdf#123586 Set minimum size for beanshell editor
Change-Id: I49e2ca387de5d520efdda0c964203c530fe016c4 Reviewed-on: https://gerrit.libreoffice.org/69394 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'scripting')
-rw-r--r--scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptEditorForBeanShell.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptEditorForBeanShell.java b/scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptEditorForBeanShell.java
index ca00b6c7dd85..5cb701e5bb79 100644
--- a/scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptEditorForBeanShell.java
+++ b/scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptEditorForBeanShell.java
@@ -29,6 +29,7 @@ import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
+import java.awt.Dimension;
import java.io.IOException;
import java.io.InputStream;
@@ -304,6 +305,7 @@ public class ScriptEditorForBeanShell implements ScriptEditor, ActionListener {
frame.pack();
frame.setSize(590, 480);
frame.setLocation(300, 200);
+ frame.setMinimumSize(new Dimension(500, 300));
}
private void doClose() {