loleaflet/css/mobilewizard.css | 2 +- loleaflet/src/control/Control.JSDialogBuilder.js | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-)
New commits: commit 745bc47a0434e60854ab4f5b05c7ef16c0d74f6f Author: Szymon Kłos <szymon.k...@collabora.com> AuthorDate: Tue Aug 11 11:32:14 2020 +0200 Commit: Jan Holesovsky <ke...@collabora.com> CommitDate: Fri Aug 14 22:43:58 2020 +0200 mobile-wizard: improve calc shape shadow panel - use listboxes - reduce input to make space for -/+ controls - working color selector Change-Id: Ia9df4fbc09132474985d169d7b0d55985461ec2b Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100472 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Jan Holesovsky <ke...@collabora.com> diff --git a/loleaflet/css/mobilewizard.css b/loleaflet/css/mobilewizard.css index 8cba28d8e..177cf7877 100644 --- a/loleaflet/css/mobilewizard.css +++ b/loleaflet/css/mobilewizard.css @@ -700,7 +700,7 @@ a.leaflet-control-zoom-in { #DecrementIndent + input:disabled{display: none;} div#mobile-wizard-content input[type=number]{ height: 46px; - width: 42%; + width: 40%; padding-left: 8%; border: none; -moz-appearance: textfield; diff --git a/loleaflet/src/control/Control.JSDialogBuilder.js b/loleaflet/src/control/Control.JSDialogBuilder.js index 980ba21e7..00bcf2fd3 100644 --- a/loleaflet/src/control/Control.JSDialogBuilder.js +++ b/loleaflet/src/control/Control.JSDialogBuilder.js @@ -1412,7 +1412,9 @@ L.Control.JSDialogBuilder = L.Control.extend({ if (data.id === 'applystyle' || data.id === 'fontnamecombobox' || data.id === 'fontsizecombobox' || - data.id === 'FontBox') { + data.id === 'FontBox' || + data.id === 'LB_ANGLE' || + data.id === 'LB_DISTANCE') { builder._listboxControl(parentContainer, data, builder); } else if (data.id === 'searchterm' || data.id === 'replaceterm') { @@ -1765,6 +1767,8 @@ L.Control.JSDialogBuilder = L.Control.extend({ builder.map['stateChangeHandler'].setItemValue(data.command, params[data.id].value); builder.map.sendUnoCommand(data.command, params); return; + } else if (data.id === 'LB_SHADOW_COLOR') { + data.command = '.uno:FillShadowColor'; } var command = data.command + '?Color:string=' + color; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits