Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
520
Increasing the size of an icon in ButtonTool
posted

Hi.

I'm using the ButtonTool in XamRibbon. I'd like to have some button with larger appearance than others. For this I've tried to increase the buttons height but found out the buttons image and content do not increase respectively. Is there a way in which I'd be able to increase my icons?

 

Thanks,

 

Izhar Lotem

Parents Reply
  • 54937
    Offline posted in reply to nguyen

    The licensing and Microsoft UI Guidelines for the Ribbon is rather specific about what is and isn't allowed in the ribbon ui so you may want to refer to that to know what you are allowed to do. That states that with regards to large images/controls the text must be centered below the image. In the xamRibbon if you want a ButtonTool to display a large image you would set the attached RibbonGroup.MinimumSize property to ImageAndTextLarge. Note this will only work when the tool is within a ToolHorizontalWrapPanel or a ToolVerticalWrapPanel (or directly within the ribbon group as its default panel is a ToolVerticalWrapPanel).

Children