Kaydet (Commit) 9dc20ea9 authored tarafından Jan Holesovsky's avatar Jan Holesovsky Kaydeden (comit) Michael Meeks

sidebar: The sidebar uses only small icons.

Force the Color toolbar buttons etc. to small icons too, otherwise
it's inconsistent.

Change-Id: I7eea09c47c2d2f888611d04b2177f490f4977ebb
üst 78afd7f6
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment