|
6 | 6 | xmlns:local="clr-namespace:FiloStreamer" |
7 | 7 | xmlns:Properties="clr-namespace:FiloStreamer.Properties" |
8 | 8 | mc:Ignorable="d" |
9 | | - d:DesignHeight="250" d:DesignWidth="497"> |
| 9 | + d:DesignHeight="300" d:DesignWidth="497"> |
10 | 10 | <Grid> |
11 | 11 | <Grid.RowDefinitions> |
12 | 12 | <RowDefinition Height="32" /> |
|
15 | 15 | <RowDefinition Height="32" /> |
16 | 16 | <RowDefinition Height="32" /> |
17 | 17 | <RowDefinition Height="32" /> |
| 18 | + <RowDefinition Height="32" /> |
| 19 | + <RowDefinition Height="32" /> |
18 | 20 | <RowDefinition Height="*" /> |
19 | 21 | </Grid.RowDefinitions> |
20 | 22 | <Grid.ColumnDefinitions> |
|
130 | 132 | Style="{StaticResource FlatTextbox}" |
131 | 133 | Text="{Binding networkLocal, Mode=TwoWay, Source={x:Static Properties:Settings.Default}}" |
132 | 134 | Visibility="{Binding Path=IsChecked, ElementName=checkboxAdvanced, Converter={StaticResource BoolInvertedToVisibility}}" /> |
133 | | - <CheckBox x:Name="checkboxAdvanced" Style="{StaticResource FlatCheckBox}" Grid.Row="6" Grid.ColumnSpan="2" Margin="6" Height="16" HorizontalAlignment="Left" VerticalAlignment="Bottom" IsChecked="{Binding settingsAdvanced, Mode=TwoWay, Source={x:Static Properties:Settings.Default}}">Advanced Settings</CheckBox> |
| 135 | + |
| 136 | + <!-- Folder --> |
| 137 | + <Image Grid.Row="6" Grid.RowSpan="2" Margin="0 4 0 0" HorizontalAlignment="Left" Source="../Resources/Folder-Movies-icon.png" Stretch="Fill" VerticalAlignment="Top" Width="64" Height="64"/> |
| 138 | + <TextBlock Grid.Row="6" Grid.RowSpan="2" Grid.Column="1" Margin="6 2 10 2" VerticalAlignment="Center" Text="Folder:" |
| 139 | + Visibility="{Binding Path=IsChecked, ElementName=checkboxAdvanced, Converter={StaticResource BoolInvertedToVisibility}}" /> |
| 140 | + <TextBox Grid.Row="6" Grid.RowSpan="2" Grid.Column="2" Grid.ColumnSpan="3" VerticalAlignment="Center" Margin="1 0 6 0" |
| 141 | + Style="{StaticResource FlatTextbox}" |
| 142 | + Text="{Binding settingsRecordingFolder, Mode=TwoWay, Source={x:Static Properties:Settings.Default}}" |
| 143 | + Visibility="{Binding Path=IsChecked, ElementName=checkboxAdvanced, Converter={StaticResource BoolInvertedToVisibility}}" /> |
| 144 | + <TextBlock Grid.Row="6" Grid.Column="1" Margin="6 2" VerticalAlignment="Bottom" Text="Folder:" |
| 145 | + Visibility="{Binding Path=IsChecked, ElementName=checkboxAdvanced, Converter={StaticResource BoolToVisibililty}}" /> |
| 146 | + <TextBox Grid.Row="6" Grid.Column="2" Grid.ColumnSpan="3" VerticalAlignment="Bottom" Margin="0 0 6 0" |
| 147 | + Text="{Binding settingsRecordingFolder, Mode=TwoWay, Source={x:Static Properties:Settings.Default}}" |
| 148 | + Visibility="{Binding Path=IsChecked, ElementName=checkboxAdvanced, Converter={StaticResource BoolToVisibililty}}" /> |
| 149 | + <TextBlock Grid.Row="7" Grid.Column="2" Grid.ColumnSpan="3" Margin="2 4" VerticalAlignment="Top" Text="Location to store the recordings into" |
| 150 | + Visibility="{Binding Path=IsChecked, ElementName=checkboxAdvanced, Converter={StaticResource BoolToVisibililty}}" /> |
| 151 | + <CheckBox x:Name="checkboxAdvanced" Style="{StaticResource FlatCheckBox}" Grid.Row="8" Grid.ColumnSpan="2" Margin="6" Height="16" HorizontalAlignment="Left" VerticalAlignment="Bottom" IsChecked="{Binding settingsAdvanced, Mode=TwoWay, Source={x:Static Properties:Settings.Default}}">Advanced Settings</CheckBox> |
134 | 152 | </Grid> |
135 | 153 | </UserControl> |
0 commit comments