sfx2/source/sidebar/SidebarToolBox.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
New commits: commit 5a5889d1e1bd17c16930b2132d8c2674fb7fa05a Author: Szymon KÅos <eszka...@gmail.com> Date: Mon Mar 20 22:19:35 2017 +0100 Notebookbar: correct initial icon size Before this patch initial icon size in the NotebookbarToolBox was determined by Sidebar settings not Notebookbar Change-Id: I66ac709c606ef60fb3505bbbe51dfebbcc81d20c Reviewed-on: https://gerrit.libreoffice.org/35493 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Szymon KÅos <eszka...@gmail.com> diff --git a/sfx2/source/sidebar/SidebarToolBox.cxx b/sfx2/source/sidebar/SidebarToolBox.cxx index 487469418f85..968366eab8f9 100644 --- a/sfx2/source/sidebar/SidebarToolBox.cxx +++ b/sfx2/source/sidebar/SidebarToolBox.cxx @@ -319,7 +319,10 @@ class NotebookbarToolBox : public SidebarToolBox { public: explicit NotebookbarToolBox(vcl::Window* pParentWindow) - : SidebarToolBox(pParentWindow) {} + : SidebarToolBox(pParentWindow) + { + SetToolboxButtonSize(GetDefaultButtonSize()); + } virtual ToolBoxButtonSize GetDefaultButtonSize() const override {
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits