mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-27 04:41:15 +08:00
PhoneNumBinding Window 错位问题
This commit is contained in:
+1
-1
@@ -5,7 +5,6 @@
|
||||
mc:Ignorable="d"
|
||||
d:DesignWidth="400" d:DesignHeight="370"
|
||||
Width="400" Height="370"
|
||||
MinWidth="400" MinHeight="370"
|
||||
MaxWidth="400" MaxHeight="370"
|
||||
x:Class="System.Application.UI.Views.Windows.BindPhoneNumberWindow"
|
||||
xmlns:controls="clr-namespace:System.Application.UI.Views.Controls"
|
||||
@@ -16,6 +15,7 @@
|
||||
xmlns:ms="using:System.Application.Settings"
|
||||
FontFamily="{Binding Source={x:Static ms:UISettings.FontName},Path=Value, Mode=OneWay,Converter={StaticResource NameToFontFamilyConverter}}"
|
||||
Background="Transparent"
|
||||
CanResize="False"
|
||||
ExtendClientAreaTitleBarHeightHint="30"
|
||||
WindowStartupLocation="CenterOwner"
|
||||
x:DataType="vm:BindPhoneNumberWindowViewModel"
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ namespace System.Application.UI.Views.Windows
|
||||
readonly TextBox TbPhoneNumber;
|
||||
readonly TextBox TbSmsCode;
|
||||
|
||||
public BindPhoneNumberWindow()
|
||||
public BindPhoneNumberWindow() : base(false)
|
||||
{
|
||||
InitializeComponent();
|
||||
TbSmsCode = this.FindControl<TextBox>(nameof(TbSmsCode));
|
||||
|
||||
+1
-1
@@ -5,7 +5,6 @@
|
||||
mc:Ignorable="d"
|
||||
d:DesignWidth="400" d:DesignHeight="370"
|
||||
Width="400" Height="370"
|
||||
MinWidth="400" MinHeight="370"
|
||||
MaxWidth="400" MaxHeight="370"
|
||||
x:Class="System.Application.UI.Views.Windows.ChangeBindPhoneNumberWindow"
|
||||
xmlns:controls="clr-namespace:System.Application.UI.Views.Controls"
|
||||
@@ -17,6 +16,7 @@
|
||||
xmlns:ms="using:System.Application.Settings"
|
||||
FontFamily="{Binding Source={x:Static ms:UISettings.FontName},Path=Value, Mode=OneWay,Converter={StaticResource NameToFontFamilyConverter}}"
|
||||
Background="Transparent"
|
||||
CanResize="False"
|
||||
ExtendClientAreaTitleBarHeightHint="30"
|
||||
WindowStartupLocation="CenterOwner"
|
||||
x:DataType="vm:ChangeBindPhoneNumberWindowViewModel"
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@ namespace System.Application.UI.Views.Windows
|
||||
readonly TextBox TbSmsCodeValidation;
|
||||
readonly TextBox TbSmsCodeNew;
|
||||
|
||||
public ChangeBindPhoneNumberWindow() : base()
|
||||
public ChangeBindPhoneNumberWindow() : base(false)
|
||||
{
|
||||
InitializeComponent();
|
||||
TbSmsCodeValidation = this.FindControl<TextBox>(nameof(TbSmsCodeValidation));
|
||||
|
||||
Reference in New Issue
Block a user