|
77 | 77 | <RowDefinition Height="*" /> |
78 | 78 | </Grid.RowDefinitions> |
79 | 79 |
|
80 | | - <!-- IDE Friendly Name --> |
| 80 | + <!-- IDE Name --> |
81 | 81 | <TextBlock |
82 | | - x:Name="IDEFriendlyName" |
| 82 | + x:Name="IDEName" |
83 | 83 | MaxWidth="200" |
84 | 84 | VerticalAlignment="Center" |
85 | 85 | x:Load="{x:Bind ViewModel.IsEditingIDEConfig, Converter={StaticResource BoolNegationConverter}, Mode=OneWay}" |
86 | 86 | LineHeight="18" |
87 | | - Text="{helpers:ResourceString Name=FriendlyName}" |
| 87 | + Text="{helpers:ResourceString Name=Name}" |
88 | 88 | TextTrimming="CharacterEllipsis" /> |
89 | 89 |
|
90 | 90 | <TextBlock |
91 | 91 | Grid.Column="1" |
92 | 92 | VerticalAlignment="Center" |
93 | 93 | FontWeight="SemiBold" |
94 | | - Text="{x:Bind ViewModel.IDEFriendlyName, Mode=TwoWay}" |
| 94 | + Text="{x:Bind ViewModel.IDEName, Mode=TwoWay}" |
95 | 95 | Visibility="{x:Bind ViewModel.IsEditingIDEConfig, Converter={StaticResource InvertedBoolVisibilityConverter}, Mode=OneWay}" /> |
96 | 96 |
|
97 | 97 | <TextBox |
98 | | - x:Name="IDEFriendlyNameTextBox" |
| 98 | + x:Name="IDENameTextBox" |
99 | 99 | Grid.ColumnSpan="2" |
100 | 100 | Width="300" |
101 | 101 | HorizontalAlignment="Left" |
102 | 102 | VerticalAlignment="Center" |
103 | | - PlaceholderText="{helpers:ResourceString Name=FriendlyName}" |
104 | | - Text="{x:Bind ViewModel.IDEFriendlyName, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" |
| 103 | + PlaceholderText="{helpers:ResourceString Name=Name}" |
| 104 | + Text="{x:Bind ViewModel.IDEName, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" |
105 | 105 | Visibility="{x:Bind ViewModel.IsEditingIDEConfig, Converter={StaticResource BoolVisibilityConverter}, Mode=OneWay}"> |
106 | 106 | <TextBox.Resources> |
107 | 107 | <SolidColorBrush x:Key="TextControlBackgroundFocused" Color="{ThemeResource SolidBackgroundFillColorSecondary}" /> |
108 | 108 | <TeachingTip |
109 | | - x:Name="InvalidFriendlyNameWarning" |
110 | | - Title="{helpers:ResourceString Name=InvalidFriendlyNameError}" |
| 109 | + x:Name="InvalidIDENameWarning" |
| 110 | + Title="{helpers:ResourceString Name=InvalidIDENameError}" |
111 | 111 | IsLightDismissEnabled="True" |
112 | | - IsOpen="{x:Bind ViewModel.IsFriendlyNameValid, Converter={StaticResource BoolNegationConverter}, Mode=OneWay}" |
| 112 | + IsOpen="{x:Bind ViewModel.IsIDENameValid, Converter={StaticResource BoolNegationConverter}, Mode=OneWay}" |
113 | 113 | PreferredPlacement="Bottom" |
114 | | - Target="{x:Bind IDEFriendlyNameTextBox}" /> |
| 114 | + Target="{x:Bind IDENameTextBox}" /> |
115 | 115 | </TextBox.Resources> |
116 | 116 | <TextBox.Header> |
117 | | - <TextBlock Text="{helpers:ResourceString Name=FriendlyName}" /> |
| 117 | + <TextBlock Text="{helpers:ResourceString Name=Name}" /> |
118 | 118 | </TextBox.Header> |
119 | 119 | </TextBox> |
120 | 120 |
|
|
254 | 254 | <Setter Target="IDEPathTextBox.Width" Value="300" /> |
255 | 255 | <Setter Target="IDEPathTextBox.HorizontalAlignment" Value="Left" /> |
256 | 256 | <Setter Target="IDEPathTextBox.(Grid.Column)" Value="0" /> |
257 | | - <Setter Target="IDEFriendlyNameTextBox.Width" Value="300" /> |
258 | | - <Setter Target="IDEFriendlyNameTextBox.HorizontalAlignment" Value="Left" /> |
259 | | - <Setter Target="IDEFriendlyNameTextBox.(Grid.ColumnSpan)" Value="2" /> |
| 257 | + <Setter Target="IDENameTextBox.Width" Value="300" /> |
| 258 | + <Setter Target="IDENameTextBox.HorizontalAlignment" Value="Left" /> |
| 259 | + <Setter Target="IDENameTextBox.(Grid.ColumnSpan)" Value="2" /> |
260 | 260 | <Setter Target="PickIDEExe.(Grid.Column)" Value="1" /> |
261 | 261 | <Setter Target="PickIDEExe.(Grid.Row)" Value="0" /> |
262 | 262 | <Setter Target="IDEPathGrid.Spacing" Value="8" /> |
|
268 | 268 | <Setter Target="IDEPathTextBox.Width" Value="Auto" /> |
269 | 269 | <Setter Target="IDEPathTextBox.HorizontalAlignment" Value="Stretch" /> |
270 | 270 | <Setter Target="IDEPathTextBox.(Grid.Column)" Value="3" /> |
271 | | - <Setter Target="IDEFriendlyNameTextBox.Width" Value="Auto" /> |
272 | | - <Setter Target="IDEFriendlyNameTextBox.HorizontalAlignment" Value="Stretch" /> |
273 | | - <Setter Target="IDEFriendlyNameTextBox.(Grid.ColumnSpan)" Value="3" /> |
| 271 | + <Setter Target="IDENameTextBox.Width" Value="Auto" /> |
| 272 | + <Setter Target="IDENameTextBox.HorizontalAlignment" Value="Stretch" /> |
| 273 | + <Setter Target="IDENameTextBox.(Grid.ColumnSpan)" Value="3" /> |
274 | 274 | <Setter Target="PickIDEExe.(Grid.Column)" Value="3" /> |
275 | 275 | <Setter Target="PickIDEExe.(Grid.Row)" Value="1" /> |
276 | 276 | <Setter Target="IDEPathGrid.Spacing" Value="12" /> |
|
0 commit comments