Skip to content

Commit f1f50ec

Browse files
authored
Merge pull request #18 from KamilDev/feature/improve-messagebox-design
Improve MessageBox design
2 parents 5cc1116 + 8c3950e commit f1f50ec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Wpf.Ui.Violeta/Controls/MessageBox/MessageBoxDialog.xaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<Thickness x:Key="ContentDialogContentMargin">0,0,0,0</Thickness>
2222
<Thickness x:Key="ContentDialogContentScrollViewerMargin">0,0,0,0</Thickness>
2323
<Thickness x:Key="ContentDialogCommandSpaceMargin">0,24,0,0</Thickness>
24-
<Thickness x:Key="ContentDialogTitleMargin">0,0,0,12</Thickness>
24+
<Thickness x:Key="ContentDialogTitleMargin">0,0,0,24</Thickness>
2525
<Thickness x:Key="ContentDialogPadding">24</Thickness>
2626
<GridLength x:Key="ContentDialogButtonSpacing">8</GridLength>
2727
<SolidColorBrush x:Key="ContentDialogTopOverlay" Color="Transparent" />
@@ -109,7 +109,7 @@
109109
ContentTemplate="{TemplateBinding CaptionTemplate}"
110110
FontFamily="{DynamicResource TextThemeFontFamily}"
111111
FontSize="20"
112-
FontWeight="Normal"
112+
FontWeight="SemiBold"
113113
Foreground="{TemplateBinding Foreground}"
114114
IsTabStop="False"
115115
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}">
@@ -144,7 +144,7 @@
144144
Height="36"
145145
Margin="4,0,16,0"
146146
HorizontalAlignment="Center"
147-
VerticalAlignment="Center"
147+
VerticalAlignment="Top"
148148
FontFamily="{DynamicResource SymbolThemeFontFamily}"
149149
FontSize="36"
150150
Foreground="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=MessageBoxIcon, Converter={x:Static local:MessageBoxIconForegroundConverter.New}}"

0 commit comments

Comments
 (0)