Skip to content

Commit d2cd572

Browse files
committed
fix combobox "System.Windows.Data Error: 4"
1 parent 35a5fdf commit d2cd572

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

UnityLauncherPro/MainWindow.xaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,9 @@
157157
<!-- error 4 comes from this whole part? -->
158158
<Style x:Key="{x:Type ComboBoxItem}" TargetType="{x:Type ComboBoxItem}">
159159
<Setter Property="SnapsToDevicePixels" Value="true" />
160-
<Setter Property="OverridesDefaultStyle" Value="true" />
161-
<!-- test fix for error 4 https://gist.github.com/TobiasSekan/73a93c2dfea4a051ff72abb5218d6f8f--><!--
162-
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
160+
<!--<Setter Property="OverridesDefaultStyle" Value="true" />-->
161+
<!-- test fix for error 4 https://gist.github.com/TobiasSekan/73a93c2dfea4a051ff72abb5218d6f8f-->
162+
<!--<Setter Property="HorizontalContentAlignment" Value="Stretch" />
163163
<Setter Property="VerticalContentAlignment" Value="Center" />
164164
<Setter Property="HorizontalAlignment" Value="Stretch" />
165165
<Setter Property="VerticalAlignment" Value="Center" />-->

0 commit comments

Comments
 (0)