scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptEditorForBeanShell.java
 |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 60a3e721aaf9a9220563d045c2387cb2378e607f
Author:     kushagrakasliwal1 <2016bit...@sggs.ac.in>
AuthorDate: Mon Mar 18 22:51:29 2019 +0530
Commit:     Samuel Mehrbrodt <samuel.mehrbr...@cib.de>
CommitDate: Wed Mar 27 10:05:21 2019 +0100

    tdf#123586 Set minimum size for beanshell editor
    
    Change-Id: I49e2ca387de5d520efdda0c964203c530fe016c4
    Reviewed-on: https://gerrit.libreoffice.org/69394
    Reviewed-by: Samuel Mehrbrodt <samuel.mehrbr...@cib.de>
    Tested-by: Samuel Mehrbrodt <samuel.mehrbr...@cib.de>

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() {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to