fix ui layout

This commit is contained in:
Genteure 2021-01-07 23:51:23 +08:00
parent 591046324d
commit 3912b6fcab
4 changed files with 10 additions and 9 deletions

View File

@ -30,7 +30,9 @@
<TextBlock FontSize="20" VerticalAlignment="Center" Text="{l:Loc AddRoomCard_Title}"/>
</StackPanel>
<TextBox Grid.Row="1" HorizontalAlignment="Stretch" VerticalAlignment="Center" x:Name="InputTextBox"
KeyDown="InputTextBox_KeyDown" ui:ControlHelper.PlaceholderText="{l:Loc AddRoomCard_PlaceholderText}"/>
ui:TextBoxHelper.IsDeleteButtonVisible="False"
ui:ControlHelper.PlaceholderText="{l:Loc AddRoomCard_PlaceholderText}"
KeyDown="InputTextBox_KeyDown"/>
<Button Grid.Row="1" Grid.Column="1" VerticalAlignment="Center" Content="{l:Loc AddRoomCard_ConfirmButton}" Click="Button_Click" />
</Grid>
</Border>

View File

@ -16,7 +16,7 @@
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="80"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>

View File

@ -50,10 +50,9 @@
<Grid>
<controls:TaskbarIconControl DataContext="{Binding}" d:IsHidden="True"/>
<ui:NavigationView IsBackEnabled="False" IsBackButtonVisible="Collapsed"
IsPaneOpen="False" OpenPaneLength="150"
IsSettingsVisible="False"
SelectionChanged="NavigationView_SelectionChanged"
>
IsSettingsVisible="False" ExpandedModeThresholdWidth="1115"
IsPaneOpen="False" OpenPaneLength="200"
SelectionChanged="NavigationView_SelectionChanged">
<ui:NavigationView.PaneCustomContent>
<Menu>
<MenuItem>

View File

@ -57,9 +57,9 @@ Global
{521EC763-5694-45A8-B87F-6E6B7F2A3BD4} = {623A2ACC-DAC6-4E6F-9242-B4B54381AAE1}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
RESX_SaveFilesImmediatelyUponChange = False
RESX_NeutralResourcesLanguage = zh-Hans
SolutionGuid = {F3CB8B14-077A-458F-BD8E-1747ED0F5170}
RESX_SortFileContentOnSave = True
SolutionGuid = {F3CB8B14-077A-458F-BD8E-1747ED0F5170}
RESX_NeutralResourcesLanguage = zh-Hans
RESX_SaveFilesImmediatelyUponChange = True
EndGlobalSection
EndGlobal