Skip to content

Commit

Permalink
Added a display for the total mods selected in each list
Browse files Browse the repository at this point in the history
  • Loading branch information
LaughingLeader committed Mar 3, 2020
1 parent ab63e6e commit 9e16f0b
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions DivinityModManagerGUI_WPF/Views/HorizontalModLayout.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<TextBlock Padding="4" Text="Active Mods" />
Expand Down Expand Up @@ -95,8 +96,16 @@
HorizontalAlignment="Left"
VerticalAlignment="Center"
Visibility="{Binding TotalActiveModsHidden, Converter={StaticResource IntToVisibilityConverter}}">
<Run Text="{Binding TotalActiveModsHidden}" />
<Run Text="{Binding TotalActiveModsHidden, Mode=OneWay}" />
<Run Text="Hidden" /></TextBlock>
<TextBlock
Grid.Column="3"
Margin="4,0,0,0"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Visibility="{Binding ActiveSelected, Converter={StaticResource IntToVisibilityConverter}}">
<Run Text="{Binding ActiveSelected, Mode=OneWay}" />
<Run Text="Selected" /></TextBlock>
</Grid>
<ListView
x:Name="ActiveModsListView"
Expand Down Expand Up @@ -128,6 +137,7 @@
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<TextBlock Padding="4" Text="Inactive Mods" />
Expand Down Expand Up @@ -171,8 +181,16 @@
HorizontalAlignment="Left"
VerticalAlignment="Center"
Visibility="{Binding TotalInactiveModsHidden, Converter={StaticResource IntToVisibilityConverter}}">
<Run Text="{Binding TotalInactiveModsHidden}" />
<Run Text="{Binding TotalInactiveModsHidden, Mode=OneWay}" />
<Run Text="Hidden" /></TextBlock>
<TextBlock
Grid.Column="3"
Margin="4,0,0,0"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Visibility="{Binding InactiveSelected, Converter={StaticResource IntToVisibilityConverter}}">
<Run Text="{Binding InactiveSelected, Mode=OneWay}" />
<Run Text="Selected" /></TextBlock>
</Grid>
<ListView
x:Name="InactiveModsListView"
Expand Down

0 comments on commit 9e16f0b

Please sign in to comment.