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