Skip to content
This repository has been archived by the owner on Jun 10, 2023. It is now read-only.

Commit

Permalink
use nicer switch
Browse files Browse the repository at this point in the history
  • Loading branch information
j2ghz committed Jul 26, 2018
1 parent 265aeae commit 2e81479
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/ModSink.WPF/View/ModpackView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,18 @@
xmlns:local="clr-namespace:ModSink.WPF.View"
xmlns:rxui="http://reactiveui.net"
xmlns:vm="clr-namespace:ModSink.WPF.ViewModel"
xmlns:mah="http://metro.mahapps.com/winfx/xaml/controls"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800">
<DockPanel LastChildFill="True" Margin="5">
<TextBlock x:Name="TbName" FontSize="32" DockPanel.Dock="Top" Padding="5" />
<StackPanel Orientation="Horizontal" DockPanel.Dock="Top" Margin="2">
<TextBlock x:Name="TbSize" />
<CheckBox Content="Should be downloaded?" x:Name="ChkInstall" Margin="15,5" />
<mah:ToggleSwitch x:Name="ChkInstall"
Margin="15,5"
OffLabel="Download?"
OnLabel="Will be downloaded"
Style="{StaticResource MahApps.Metro.Styles.ToggleSwitch.Win10}" />
</StackPanel>
<ListBox x:Name="LbMods" />
</DockPanel>
Expand Down

0 comments on commit 2e81479

Please sign in to comment.