[Libreoffice-commits] core.git: sfx2/source
Szymon Kłos
eszkadev at gmail.com
Tue Mar 21 07:15:10 UTC 2017
sfx2/source/sidebar/SidebarToolBox.cxx | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
New commits:
commit 5a5889d1e1bd17c16930b2132d8c2674fb7fa05a
Author: Szymon Kłos <eszkadev at 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 <ci at libreoffice.org>
Reviewed-by: Szymon Kłos <eszkadev at 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
{
More information about the Libreoffice-commits
mailing list