Browse Source

Fixed bool not clickable by label

Krzysztof Krysiński 4 months ago
parent
commit
7a155ee344
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/PixiEditor/Views/Nodes/Properties/BooleanPropertyView.axaml

+ 1 - 2
src/PixiEditor/Views/Nodes/Properties/BooleanPropertyView.axaml

@@ -8,7 +8,6 @@
                              mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
                              x:Class="PixiEditor.Views.Nodes.Properties.BooleanPropertyView">
     <StackPanel Orientation="Horizontal" HorizontalAlignment="{Binding IsInput, Converter={converters:BoolToValueConverter FalseValue='Right', TrueValue='Stretch'}}">
-        <CheckBox Margin="0,0,4,0" IsVisible="{Binding ShowInputField}" IsChecked="{Binding Value}"/>
-        <TextBlock VerticalAlignment="Center" ui:Translator.Key="{Binding DisplayName}"/>
+        <CheckBox ui:Translator.Key="{Binding DisplayName}" Margin="0,0,4,0" IsVisible="{Binding ShowInputField}" IsChecked="{Binding Value}"/>
     </StackPanel>
 </properties:NodePropertyView>