New to Telerik UI for WPF? Download free 30-day trial

Minimize and Minus Glyphs are Stretched When Shown in RadPathButton


Product Version 2019.2.618
Product RadButton for WPF


The Minimize and Minus font glyphs are stretched when hosted in RadPathButton.


This happens because RadPathButton stretches its Path element by default. To change this behavior, you can set the Stretch property of the Path to None via the PathStyle property of RadPathButton.

    <Style TargetType="{x:Type Path}"> 
        <Setter Property="Fill" Value="Black"/> 
        <Setter Property="Stretch" Value="None"/> 
        <Setter Property="VerticalAlignment" Value="Center"/> 
        <Setter Property="HorizontalAlignment" Value="Center"/> 
        <Setter Property="SnapsToDevicePixels" Value="True"/> 
In this article