[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-3' - loleaflet/src

Marco Cecchetti marco.cecchetti at collabora.com
Tue Mar 20 14:36:51 UTC 2018


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

New commits:
commit 9ee219d7984a848401cb0241a28b04aae35f33b6
Author: Marco Cecchetti <marco.cecchetti at 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/51640
    Reviewed-by: pranavk <pranavk at collabora.co.uk>
    Tested-by: pranavk <pranavk at collabora.co.uk>

diff --git a/loleaflet/src/control/Control.LokDialog.js b/loleaflet/src/control/Control.LokDialog.js
index bb1c0eb9d..da71dada5 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,


More information about the Libreoffice-commits mailing list