Fix XAML Warnings

Fix warnings of the XAML
This commit is contained in:
Rose 2022-08-31 09:37:55 -04:00
commit d2af1e512e
6 changed files with 19 additions and 1 deletions

View file

@ -2352,7 +2352,6 @@
Visibility="Collapsed"/> Visibility="Collapsed"/>
<Border x:Name="BorderElement" <Border x:Name="BorderElement"
Grid.Row="1" Grid.Row="1"
Grid.RowSpan="1"
Grid.Column="0" Grid.Column="0"
Grid.ColumnSpan="4" Grid.ColumnSpan="4"
MinWidth="32" MinWidth="32"

View file

@ -166,6 +166,11 @@
Style="{StaticResource ResultsScrollerSnapped}" Style="{StaticResource ResultsScrollerSnapped}"
AutomationProperties.AccessibilityView="Control"> AutomationProperties.AccessibilityView="Control">
<Grid x:Name="ExpressionContent"> <Grid x:Name="ExpressionContent">
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<TextBlock x:Name="EditableToken" <TextBlock x:Name="EditableToken"
Grid.Row="2" Grid.Row="2"
Margin="4,0,4,0" Margin="4,0,4,0"
@ -409,6 +414,10 @@
</UserControl.Resources> </UserControl.Resources>
<Grid AutomationProperties.LandmarkType="Main"> <Grid AutomationProperties.LandmarkType="Main">
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions> <Grid.ColumnDefinitions>
<ColumnDefinition x:Name="ColumnMain"/> <ColumnDefinition x:Name="ColumnMain"/>
<ColumnDefinition x:Name="ColumnHistory" <ColumnDefinition x:Name="ColumnHistory"

View file

@ -24,6 +24,7 @@
<ColumnDefinition Width="1*" MaxWidth="80"/> <ColumnDefinition Width="1*" MaxWidth="80"/>
<ColumnDefinition Width="1*" MaxWidth="80"/> <ColumnDefinition Width="1*" MaxWidth="80"/>
<ColumnDefinition Width="1*" MaxWidth="80"/> <ColumnDefinition Width="1*" MaxWidth="80"/>
<ColumnDefinition />
</Grid.ColumnDefinitions> </Grid.ColumnDefinitions>
<VisualStateManager.VisualStateGroups> <VisualStateManager.VisualStateGroups>

View file

@ -499,6 +499,7 @@
<Grid.RowDefinitions> <Grid.RowDefinitions>
<RowDefinition Height="{StaticResource HamburgerHeightGridLength}"/> <RowDefinition Height="{StaticResource HamburgerHeightGridLength}"/>
<RowDefinition/> <RowDefinition/>
<RowDefinition />
</Grid.RowDefinitions> </Grid.RowDefinitions>
<Grid.ColumnDefinitions> <Grid.ColumnDefinitions>
<ColumnDefinition Width="2*"/> <ColumnDefinition Width="2*"/>

View file

@ -37,6 +37,10 @@
<Grid Name="LayoutRoot" <Grid Name="LayoutRoot"
Background="{ThemeResource ToggleButtonBackground}" Background="{ThemeResource ToggleButtonBackground}"
contract7Present:CornerRadius="{TemplateBinding CornerRadius}"> contract7Present:CornerRadius="{TemplateBinding CornerRadius}">
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<VisualStateManager.VisualStateGroups> <VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="CommonStates"> <VisualStateGroup x:Name="CommonStates">
<VisualState x:Name="Normal"/> <VisualState x:Name="Normal"/>

View file

@ -513,6 +513,10 @@
Grid.RowSpan="5" Grid.RowSpan="5"
Grid.Column="0" Grid.Column="0"
Grid.ColumnSpan="4"> Grid.ColumnSpan="4">
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions> <Grid.RowDefinitions>
<RowDefinition Height="10*"/> <RowDefinition Height="10*"/>
<RowDefinition Height="7*"/> <RowDefinition Height="7*"/>