summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2013-05-17 23:36:03 +0200
committerMichael Meeks <michael.meeks@suse.com>2013-05-20 11:33:40 +0100
commit9dc20ea96f87a85ec9e6f7c85893b77fe0cf15d4 (patch)
tree0865502e7339e40681d48a6d374632307c065fc2
parent78afd7f6579eff4c3d8688b38d3b9d025be2098b (diff)
sidebar: The sidebar uses only small icons.
Force the Color toolbar buttons etc. to small icons too, otherwise it's inconsistent. Change-Id: I7eea09c47c2d2f888611d04b2177f490f4977ebb
-rw-r--r--sfx2/source/sidebar/SidebarToolBox.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sfx2/source/sidebar/SidebarToolBox.cxx b/sfx2/source/sidebar/SidebarToolBox.cxx
index 61110ee19872..0fcf64e45fdf 100644
--- a/sfx2/source/sidebar/SidebarToolBox.cxx
+++ b/sfx2/source/sidebar/SidebarToolBox.cxx
@@ -46,6 +46,7 @@ SidebarToolBox::SidebarToolBox (
{
SetBackground(Wallpaper());
SetPaintTransparent(true);
+ SetToolboxButtonSize( TOOLBOX_BUTTONSIZE_SMALL );
if (rxFrame.is())
{
@@ -250,14 +251,12 @@ Reference<frame::XToolbarController> SidebarToolBox::GetControllerForItemId (con
void SidebarToolBox::UpdateIcons (const Reference<frame::XFrame>& rxFrame)
{
- const sal_Bool bBigImages (SvtMiscOptions().AreCurrentSymbolsLarge());
-
for (ControllerContainer::iterator iController(maControllers.begin()), iEnd(maControllers.end());
iController!=iEnd;
++iController)
{
const ::rtl::OUString sCommandURL (iController->second.msCurrentCommand);
- Image aImage (framework::GetImageFromURL(rxFrame, sCommandURL, bBigImages));
+ Image aImage (framework::GetImageFromURL(rxFrame, sCommandURL, false));
SetItemImage(iController->first, aImage);
}
}