|
2 | 2 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
3 | 3 | xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
4 | 4 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
5 | | - mc:Ignorable="d" d:DesignWidth="200" d:DesignHeight="100" |
6 | | - Width="400" Height="100" |
| 5 | + mc:Ignorable="d" d:DesignWidth="400" d:DesignHeight="120" |
| 6 | + Width="400" Height="120" |
7 | 7 | x:Class="ArcExplorer.Views.OpenArcConnectionWindow" |
8 | | - WindowStartupLocation="CenterScreen" |
9 | 8 | Icon="avares://ArcExplorer/Assets/arc.ico" |
10 | 9 | Name="thisControl" |
11 | | - Title="Connect to ARC"> |
| 10 | + Title="Connect to ARC" |
| 11 | + WindowStartupLocation="CenterOwner"> |
12 | 12 | <StackPanel Margin="10"> |
13 | | - <Grid ColumnDefinitions="*,*"> |
14 | | - <TextBlock Margin="5" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Right">IP Address</TextBlock> |
15 | | - <TextBox Margin="5" Grid.Column="1" VerticalAlignment="Center" Text="{Binding IpAddress}"></TextBox> |
| 13 | + <Grid ColumnDefinitions="*,*" RowDefinitions="*,*"> |
| 14 | + <TextBlock Margin="5" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Left">IP Address</TextBlock> |
| 15 | + <TextBox Margin="5" Grid.Column="1" VerticalAlignment="Center" Text="{Binding IpAddress}" |
| 16 | + ToolTip.Tip="The IP address for the connection. This should be your Nintendo Switch's IP Address."></TextBox> |
| 17 | + <CheckBox Margin="5" Grid.Row="1" Grid.Column="0" IsChecked="{Binding RememberIpAddress}" |
| 18 | + ToolTip.Tip="The IP address will be saved after clicking connect if checked.">Remember these settings</CheckBox> |
16 | 19 | </Grid> |
17 | | - <Grid ColumnDefinitions="*,*"> |
| 20 | + <Grid ColumnDefinitions="*,*" DataContext="{Binding #thisControl}"> |
18 | 21 | <Button Grid.Column="0" Margin="5" Command="{Binding CancelClick}">Cancel</Button> |
19 | 22 | <Button Grid.Column="1" Margin="5" Command="{Binding ConnectClick}">Connect</Button> |
20 | 23 | </Grid> |
|
0 commit comments