loleaflet/js/toolbar.js | 3 +++ 1 file changed, 3 insertions(+) New commits: commit f1440cd57b279b5178764ec57440cda43ca59d77 Author: Henry Castro <hcas...@collabora.com> AuthorDate: Sat Dec 22 20:33:28 2018 -0400 Commit: Henry Castro <hcas...@collabora.com> CommitDate: Sat Dec 22 20:38:41 2018 -0400
loleaflet: force toolbar resizes when update custom ... combo box toolbar items. Change-Id: Ib0e6bd5b6b59ef7fb4afa32ea0e16273b72cf503 diff --git a/loleaflet/js/toolbar.js b/loleaflet/js/toolbar.js index f20e88ec5..8de2549a6 100644 --- a/loleaflet/js/toolbar.js +++ b/loleaflet/js/toolbar.js @@ -2026,6 +2026,7 @@ function updateCommandValues(targetName) { }); $('.styles-select').val(stylesSelectValue).trigger('change'); $('.styles-select').on('select2:select', onStyleSelect); + w2ui['editbar'].resize(); } if (targetName === 'fonts' && $('.fonts-select option').length === 1) { @@ -2048,6 +2049,7 @@ function updateCommandValues(targetName) { }); $('.fonts-select').on('select2:select', onFontSelect); $('.fonts-select').val(fontsSelectValue).trigger('change'); + w2ui['editbar'].resize(); } if (targetName === 'fontsizes' && $('.fontsizes-select option').length === 1) { @@ -2061,6 +2063,7 @@ function updateCommandValues(targetName) { updateFontSizeList(fontsSelectValue); } $('.fontsizes-select').val(fontsizesSelectValue).trigger('change'); + w2ui['editbar'].resize(); } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits