Skip to content

Commit 2d1f809

Browse files
committed
cleaning up xaml #54
1 parent 1b02e00 commit 2d1f809

File tree

1 file changed

+0
-40
lines changed

1 file changed

+0
-40
lines changed

UnityLauncherPro/MainWindow.xaml

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -98,19 +98,9 @@
9898

9999
<DataGrid.Columns>
100100
<DataGridTextColumn Header="Project" x:Name="txtColumnTitle" CellStyle="{StaticResource NoFocusCellStyle}" Binding="{Binding Title}" ClipboardContentBinding="{x:Null}" IsReadOnly="True" Width="150">
101-
<DataGridTextColumn.HeaderTemplate>
102-
<DataTemplate>
103-
<TextBlock Text="Project" IsHitTestVisible="False" />
104-
</DataTemplate>
105-
</DataGridTextColumn.HeaderTemplate>
106101
</DataGridTextColumn>
107102

108103
<DataGridTextColumn Header="Version" Binding="{Binding Version}" ClipboardContentBinding="{x:Null}" IsReadOnly="True" Width="72">
109-
<DataGridTextColumn.HeaderTemplate>
110-
<DataTemplate>
111-
<TextBlock Text="Version" IsHitTestVisible="False" />
112-
</DataTemplate>
113-
</DataGridTextColumn.HeaderTemplate>
114104
<DataGridTextColumn.CellStyle>
115105
<Style TargetType="{x:Type DataGridCell}">
116106
<Setter Property="Foreground" Value="{DynamicResource ThemeGridRedText}" />
@@ -152,11 +142,6 @@
152142
</DataGridTextColumn>
153143
<!--CellStyle="{StaticResource NoFocusCellStyle"}-->
154144
<DataGridTextColumn Header="Path" x:Name="txtColumnPath" Binding="{Binding Path}" ClipboardContentBinding="{x:Null}" IsReadOnly="True" Width="185">
155-
<DataGridTextColumn.HeaderTemplate>
156-
<DataTemplate>
157-
<TextBlock Text="Path" IsHitTestVisible="False" />
158-
</DataTemplate>
159-
</DataGridTextColumn.HeaderTemplate>
160145
<DataGridTextColumn.CellStyle>
161146
<Style TargetType="{x:Type DataGridCell}">
162147
<Style.Triggers>
@@ -173,11 +158,6 @@
173158
ClipboardContentBinding="{x:Null}"
174159
IsReadOnly="True"
175160
Width="120">
176-
<DataGridTextColumn.HeaderTemplate>
177-
<DataTemplate>
178-
<TextBlock Text="Modified" IsHitTestVisible="False" />
179-
</DataTemplate>
180-
</DataGridTextColumn.HeaderTemplate>
181161
<DataGridTextColumn.CellStyle>
182162
<Style TargetType="DataGridCell">
183163
<Setter Property="FocusVisualStyle" Value="{x:Null}" />
@@ -193,18 +173,8 @@
193173
</DataGridTextColumn>
194174

195175
<DataGridTextColumn Header="Arguments" Binding="{Binding Arguments}" CellStyle="{StaticResource NoFocusCellStyle}" ClipboardContentBinding="{x:Null}" IsReadOnly="False" Width="100">
196-
<DataGridTextColumn.HeaderTemplate>
197-
<DataTemplate>
198-
<TextBlock Text="Arguments" IsHitTestVisible="False" />
199-
</DataTemplate>
200-
</DataGridTextColumn.HeaderTemplate>
201176
</DataGridTextColumn>
202177
<DataGridTextColumn Header="Branch" x:Name="txtColumnGitBranch" Binding="{Binding GITBranch}" CellStyle="{StaticResource NoFocusCellStyle}" ClipboardContentBinding="{x:Null}" IsReadOnly="True" Width="60">
203-
<DataGridTextColumn.HeaderTemplate>
204-
<DataTemplate>
205-
<TextBlock Text="Branch" IsHitTestVisible="False" />
206-
</DataTemplate>
207-
</DataGridTextColumn.HeaderTemplate>
208178
</DataGridTextColumn>
209179
<!--TODO platform as dropdown?-->
210180
<!--<DataGridTextColumn CellStyle="{StaticResource NoFocusCellStyle}" Binding="{Binding TargetPlatform}" ClipboardContentBinding="{x:Null}" Header="Platform" IsReadOnly="True" Width="100"/>-->
@@ -227,11 +197,6 @@
227197
</DataGridTemplateColumn>
228198

229199
<DataGridTextColumn Header="SRP" x:Name="txtColumnRenderPipeline" Binding="{Binding SRP}" CellStyle="{StaticResource NoFocusCellStyle}" ClipboardContentBinding="{x:Null}" IsReadOnly="True" Width="50">
230-
<DataGridTextColumn.HeaderTemplate>
231-
<DataTemplate>
232-
<TextBlock Text="SRP" IsHitTestVisible="False" />
233-
</DataTemplate>
234-
</DataGridTextColumn.HeaderTemplate>
235200
</DataGridTextColumn>
236201
</DataGrid.Columns>
237202

@@ -403,11 +368,6 @@
403368
</DataGridTextColumn>
404369

405370
<DataGridTextColumn Binding="{Binding Version}" ClipboardContentBinding="{x:Null}" Header="Version" IsReadOnly="True" MinWidth="90">
406-
<DataGridTextColumn.HeaderTemplate>
407-
<DataTemplate>
408-
<TextBlock Text="Version" IsHitTestVisible="False" />
409-
</DataTemplate>
410-
</DataGridTextColumn.HeaderTemplate>
411371
<DataGridTextColumn.CellStyle>
412372
<Style TargetType="{x:Type DataGridCell}">
413373
<Setter Property="BorderBrush" Value="Orange" />

0 commit comments

Comments
 (0)