loleaflet/src/control/Control.LokDialog.js |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit fac61cb01c03356abe15cd29e6d04bc04c04e7c8
Author: Marco Cecchetti <marco.cecche...@collabora.com>
Date:   Tue Mar 13 21:49:40 2018 +0100

    online: set jquery dialog min width explicitly
    
    Default jquery dialog min width is 150px, if the dialog width in core
    is less than 150 pixel, the dialog looks ugly in online.
    
    Since the dialog is not resizable it's fine to set width and minWidth
    to the same value.
    
    Change-Id: Ieba2e4d12b6c9f5b328091c453c7e09b10ac1422
    Reviewed-on: https://gerrit.libreoffice.org/51597
    Reviewed-by: Marco Cecchetti <mrcek...@gmail.com>
    Tested-by: Marco Cecchetti <mrcek...@gmail.com>

diff --git a/loleaflet/src/control/Control.LokDialog.js 
b/loleaflet/src/control/Control.LokDialog.js
index 15dea5e2b..8ffd62e60 100644
--- a/loleaflet/src/control/Control.LokDialog.js
+++ b/loleaflet/src/control/Control.LokDialog.js
@@ -238,6 +238,7 @@ L.Control.LokDialog = L.Control.extend({
 
                var that = this;
                $(dialogContainer).dialog({
+                       minWidth: width,
                        width: width,
                        title: title ? title : '',
                        modal: false,
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to