tags:

views:

177

answers:

1

I'm having weird issues with the LargeImageSource for the Application menu (using Office2007Blue theme)

My image is 48x48 but it appears to be scaling down to 10x10. It's not using SmallImageSource at all.

<r:Ribbon.ApplicationMenu>
            <r:RibbonApplicationMenu>
                <r:RibbonApplicationMenu.Command>
                    <r:RibbonCommand
                        SmallImageSource="images/icon.png"
                        LargeImageSource="images/icon.png"
                        ToolTipTitle="Application Menu"
                        ToolTipDescription="Click here to open files or close the application." />
                </r:RibbonApplicationMenu.Command>
                <r:RibbonApplicationMenuItem>
                    <r:RibbonApplicationMenuItem.Command>
                        <r:RibbonCommand 
                            LabelTitle="_Close" 
                            LabelDescription="Close the Application"
                            />
                    </r:RibbonApplicationMenuItem.Command>
                </r:RibbonApplicationMenuItem>
            </r:RibbonApplicationMenu>
        </r:Ribbon.ApplicationMenu>
A: 

Changing the image's printed dimensions fixed it. The button doesn't look at the pixel dimensions.

karl.r