diff options
author | Szymon Kłos <eszkadev@gmail.com> | 2017-03-20 22:19:35 +0100 |
---|---|---|
committer | Szymon Kłos <eszkadev@gmail.com> | 2017-03-21 07:14:44 +0000 |
commit | 5a5889d1e1bd17c16930b2132d8c2674fb7fa05a (patch) | |
tree | 6ef9eaf6c218482408cbb38ede88546e805feacc /sfx2/source/sidebar | |
parent | 0a8612f8b893b9510e083dbb9f01077d0ba1c017 (diff) |
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@libreoffice.org>
Reviewed-by: Szymon Kłos <eszkadev@gmail.com>
Diffstat (limited to 'sfx2/source/sidebar')
-rw-r--r-- | sfx2/source/sidebar/SidebarToolBox.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
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 { |