Change Icon Size in Button

Nov 28, 2013 at 10:07 AM
Hi,
i just created a fluent:button with a defined heigh, icon and text. Now the Text is cuted of on the bottom of the button.
My first idea was to resize the icon this way:
 <Fluent:Button Name="buttonCheese" Height="55">
   <Fluent:Button.LargeIcon>
      <Image Height="24" Source="../Resources/Icons/cheese_32.png"/>
    </Fluent:Button.LargeIcon>
    <Fluent:Button.Header >Add the Cheese</Fluent:Button.Header>
</Fluent:Button>
the Icon gets resized that way, but the space will not be availble for the text. I found out with wpf inspector that its in a fixed-size ContentPresenter (IconImage). I can manipulate the size of this item during the runtime via WPF Inspector and it looks fine.

My Question: is there a way to define the size of the contentPresenter containing the Icon in XAML or any other way?

Thanks for the great work!!l

alrik
Developer
Jan 13, 2014 at 8:04 PM
Could you attach a screenshot?