rework account summary card layout
This commit is contained in:
@@ -115,20 +115,26 @@
|
||||
</Button.Content>
|
||||
</Button>
|
||||
|
||||
<winuiControls:SettingsCard
|
||||
<Border
|
||||
Grid.Column="1"
|
||||
Margin="0,12,0,0"
|
||||
MinHeight="200"
|
||||
Description="{x:Bind domain:Translator.WinoAccount_Management_SummarySectionDescription}"
|
||||
Header="{x:Bind domain:Translator.WinoAccount_Management_SummarySectionTitle}">
|
||||
<winuiControls:SettingsCard.HeaderIcon>
|
||||
<SymbolIcon Symbol="ContactInfo" />
|
||||
</winuiControls:SettingsCard.HeaderIcon>
|
||||
<StackPanel Margin="0,-4,0,0" Spacing="10">
|
||||
<Grid
|
||||
Padding="16"
|
||||
Background="{ThemeResource CardBackgroundFillColorDefaultBrush}"
|
||||
BorderBrush="{ThemeResource CardStrokeColorDefaultBrush}"
|
||||
BorderThickness="1"
|
||||
CornerRadius="12">
|
||||
<StackPanel HorizontalAlignment="Stretch" Spacing="12">
|
||||
<TextBlock
|
||||
HorizontalAlignment="Center"
|
||||
ColumnSpacing="10"
|
||||
RowSpacing="10">
|
||||
FontSize="15"
|
||||
FontWeight="SemiBold"
|
||||
Text="{x:Bind domain:Translator.WinoAccount_Management_SummarySectionTitle}" />
|
||||
|
||||
<Grid
|
||||
HorizontalAlignment="Stretch"
|
||||
ColumnSpacing="12"
|
||||
RowSpacing="12">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
@@ -141,7 +147,7 @@
|
||||
<Border
|
||||
Grid.Row="0"
|
||||
Grid.Column="0"
|
||||
Padding="10"
|
||||
Padding="12"
|
||||
Background="{ThemeResource CardBackgroundFillColorTertiaryBrush}"
|
||||
BorderBrush="{ThemeResource CardStrokeColorDefaultBrush}"
|
||||
BorderThickness="1"
|
||||
@@ -155,7 +161,7 @@
|
||||
<Border
|
||||
Grid.Row="0"
|
||||
Grid.Column="1"
|
||||
Padding="10"
|
||||
Padding="12"
|
||||
Background="{ThemeResource CardBackgroundFillColorTertiaryBrush}"
|
||||
BorderBrush="{ThemeResource CardStrokeColorDefaultBrush}"
|
||||
BorderThickness="1"
|
||||
@@ -169,7 +175,7 @@
|
||||
<Border
|
||||
Grid.Row="1"
|
||||
Grid.Column="0"
|
||||
Padding="10"
|
||||
Padding="12"
|
||||
Background="{ThemeResource CardBackgroundFillColorTertiaryBrush}"
|
||||
BorderBrush="{ThemeResource CardStrokeColorDefaultBrush}"
|
||||
BorderThickness="1"
|
||||
@@ -183,7 +189,7 @@
|
||||
<Border
|
||||
Grid.Row="1"
|
||||
Grid.Column="1"
|
||||
Padding="10"
|
||||
Padding="12"
|
||||
Background="{ThemeResource CardBackgroundFillColorTertiaryBrush}"
|
||||
BorderBrush="{ThemeResource CardStrokeColorDefaultBrush}"
|
||||
BorderThickness="1"
|
||||
@@ -202,7 +208,7 @@
|
||||
TextAlignment="Center"
|
||||
TextWrapping="Wrap" />
|
||||
</StackPanel>
|
||||
</winuiControls:SettingsCard>
|
||||
</Border>
|
||||
|
||||
</Grid>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user