[FZEditor]Fix Create new layout dialog radio buttons IsChecked values (#36320)
This commit is contained in:
Родитель
05e5e92199
Коммит
f19a34d50c
|
@ -819,7 +819,7 @@
|
|||
AutomationProperties.HelpText="{x:Static props:Resources.Layout_Grid_Description}"
|
||||
AutomationProperties.Name="{x:Static props:Resources.Layout_Grid_Title}"
|
||||
GroupName="LayoutTypeGroup"
|
||||
IsChecked="True"
|
||||
IsChecked="False"
|
||||
Style="{StaticResource LayoutTypeRadioButtonStyle}">
|
||||
<RadioButton.Content>
|
||||
<Grid Width="420" Margin="4">
|
||||
|
@ -857,7 +857,7 @@
|
|||
AutomationProperties.HelpText="{x:Static props:Resources.Layout_Canvas_Description}"
|
||||
AutomationProperties.Name="{x:Static props:Resources.Layout_Canvas_Title}"
|
||||
GroupName="LayoutTypeGroup"
|
||||
IsChecked="True"
|
||||
IsChecked="False"
|
||||
Style="{StaticResource LayoutTypeRadioButtonStyle}">
|
||||
<RadioButton.Content>
|
||||
<Grid Width="420" Margin="4">
|
||||
|
|
|
@ -226,7 +226,9 @@ namespace FancyZonesEditor
|
|||
}
|
||||
|
||||
LayoutNameText.Text = defaultNamePrefix + " " + (++maxCustomIndex);
|
||||
|
||||
GridLayoutRadioButton.IsChecked = true;
|
||||
CanvasLayoutRadioButton.IsChecked = false;
|
||||
GridLayoutRadioButton.Focus();
|
||||
await NewLayoutDialog.ShowAsync();
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче