Skip to content

Commit

Permalink
Merge pull request #194 from liamcannon/feature/DLCDropdownRelocation
Browse files Browse the repository at this point in the history
Feature/dlc dropdown relocation
  • Loading branch information
jupster authored Sep 25, 2024
2 parents 3e30c4f + 07d67af commit ee973f8
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions FASTER/Views/Profile.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,20 @@
<mah:NumericUpDown Value="{Binding Profile.Port, UpdateSourceTrigger=PropertyChanged}" mah:TextBoxHelper.UseFloatingWatermark="True" mah:TextBoxHelper.Watermark="Port" ToolTip="Port for ArmaServer"/>
</StackPanel>
</GroupBox>
<StackPanel Height="10"/>
<GroupBox Header="DLCs">
<StackPanel Background="{Binding Mode=OneWay, Source={StaticResource MahApps.Brushes.Menu.Background}}">
<StackPanel Height="10"/>
<CheckBox IsChecked="{Binding Profile.ContactDLCChecked}" Content="Contact DLC" Margin="10,3" Width="105" HorizontalAlignment="Left"/>
<CheckBox IsChecked="{Binding Profile.GMDLCChecked}" Content="GM DLC" Margin="10,3" HorizontalAlignment="Left"/>
<CheckBox IsChecked="{Binding Profile.PFDLCChecked}" Content="Prairie Fire DLC" Margin="10,3" Width="105" HorizontalAlignment="Left"/>
<CheckBox IsChecked="{Binding Profile.CSLADLCChecked}" Content="CSLA DLC" Margin="10,3" HorizontalAlignment="Left"/>
<CheckBox IsChecked="{Binding Profile.WSDLCChecked}" Content="Western Sahara DLC" Margin="10,3" HorizontalAlignment="Left"/>
<CheckBox IsChecked="{Binding Profile.SPEDLCChecked}" Content="Spearhead 1944 DLC" Margin="10,3" HorizontalAlignment="Left"/>
<CheckBox IsChecked="{Binding Profile.RFDLCChecked}" Content="Reaction Forces DLC" Margin="10,3" HorizontalAlignment="Left"/>
<StackPanel Height="10"/>
</StackPanel>
</GroupBox>
</StackPanel>
<GroupBox Header="Mods" Grid.Row="0" Grid.Column="1" Margin="5">
<Grid>
Expand Down Expand Up @@ -90,7 +104,7 @@
<TextBlock Text="Clear Keys" Margin="10,0" />
</StackPanel>
</Button>
<Canvas>
<!--<Canvas>
<Expander Header="DLCs" Margin="5" mah:ControlsHelper.ContentCharacterCasing="Normal" Background="{Binding Mode=OneWay, Source={StaticResource MahApps.Brushes.Menu.Background}}">
<StackPanel Orientation="Vertical">
<CheckBox IsChecked="{Binding Profile.ContactDLCChecked}" Content="Contact DLC" Margin="10,3" Width="105" HorizontalAlignment="Left"/>
Expand All @@ -102,7 +116,7 @@
<CheckBox IsChecked="{Binding Profile.RFDLCChecked}" Content="Reaction Forces DLC" Margin="10,3" HorizontalAlignment="Left"/>
</StackPanel>
</Expander>
</Canvas>
</Canvas>-->
</StackPanel>
<DataGrid Grid.Row="1" ItemsSource="{Binding Path=Profile.FilteredProfileMods, Mode=OneWay, UpdateSourceTrigger=PropertyChanged}" CanUserReorderColumns="False" CanUserSortColumns="True" AutoGenerateColumns="False" CanUserAddRows="False">
<DataGrid.Resources>
Expand Down

0 comments on commit ee973f8

Please sign in to comment.