Explorar el Código

Fixed sizing of CheckBox

Kenric Nugteren hace 2 semanas
padre
commit
9629474661
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      InABox.Avalonia/Theme/Classes/CheckBox.axaml

+ 1 - 1
InABox.Avalonia/Theme/Classes/CheckBox.axaml

@@ -11,7 +11,7 @@
                                     BorderThickness="{TemplateBinding BorderThickness}"
                                     CornerRadius="{TemplateBinding CornerRadius}" />
 
-                    <Grid VerticalAlignment="Top" Height="32">
+                    <Grid VerticalAlignment="Center" Height="{TemplateBinding Height}">
                         <Border x:Name="NormalRectangle"
                                         BorderBrush="{DynamicResource CheckBoxCheckBackgroundStrokeUnchecked}"
                                         Background="{DynamicResource CheckBoxCheckBackgroundFillUnchecked}"