Skip to content

Commit ad14684

Browse files
committed
Format xaml file
1 parent bee2cfa commit ad14684

File tree

1 file changed

+56
-21
lines changed

1 file changed

+56
-21
lines changed

Flow.Launcher/Msg.xaml

Lines changed: 56 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,76 @@
1-
<Window x:Class="Flow.Launcher.Msg"
2-
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3-
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4-
Background="#ebebeb"
5-
Topmost="True"
6-
SizeToContent="Height"
7-
ResizeMode="NoResize"
8-
WindowStyle="None"
9-
ShowInTaskbar="False"
10-
Title="Msg" Height="60" Width="420">
1+
<Window
2+
x:Class="Flow.Launcher.Msg"
3+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
4+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
5+
Title="Msg"
6+
Width="420"
7+
Height="60"
8+
Background="#ebebeb"
9+
ResizeMode="NoResize"
10+
ShowInTaskbar="False"
11+
SizeToContent="Height"
12+
Topmost="True"
13+
WindowStyle="None">
1114
<Window.Triggers>
1215
<EventTrigger RoutedEvent="Window.Loaded">
1316
<BeginStoryboard>
1417
<Storyboard>
15-
<DoubleAnimation x:Name="showAnimation" Duration="0:0:0.3" Storyboard.TargetProperty="Top"
16-
AccelerationRatio="0.2" />
18+
<DoubleAnimation
19+
x:Name="showAnimation"
20+
AccelerationRatio="0.2"
21+
Storyboard.TargetProperty="Top"
22+
Duration="0:0:0.3" />
1723
</Storyboard>
1824
</BeginStoryboard>
1925
</EventTrigger>
20-
2126
</Window.Triggers>
22-
<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="5">
27+
28+
<Grid
29+
Margin="5"
30+
HorizontalAlignment="Stretch"
31+
VerticalAlignment="Stretch">
2332
<Grid.ColumnDefinitions>
2433
<ColumnDefinition Width="32" />
2534
<ColumnDefinition />
2635
<ColumnDefinition Width="2.852" />
27-
<ColumnDefinition Width="13.148"/>
36+
<ColumnDefinition Width="13.148" />
2837
</Grid.ColumnDefinitions>
29-
<Image x:Name="imgIco" Width="32" Height="32" HorizontalAlignment="Left" Margin="0,9" />
30-
<Grid HorizontalAlignment="Stretch" Margin="5 0 0 0" Grid.Column="1" VerticalAlignment="Stretch">
38+
<Image
39+
x:Name="imgIco"
40+
Width="32"
41+
Height="32"
42+
Margin="0 9"
43+
HorizontalAlignment="Left" />
44+
<Grid
45+
Grid.Column="1"
46+
Margin="5 0 0 0"
47+
HorizontalAlignment="Stretch"
48+
VerticalAlignment="Stretch">
3149
<Grid.RowDefinitions>
3250
<RowDefinition />
3351
<RowDefinition />
3452
</Grid.RowDefinitions>
35-
<TextBlock x:Name="tbTitle" FontSize="16" Foreground="#37392c" FontWeight="Medium">Title</TextBlock>
36-
<TextBlock Grid.Row="1" Foreground="#8e94a4" x:Name="tbSubTitle">sdfdsf</TextBlock>
53+
<TextBlock
54+
x:Name="tbTitle"
55+
FontSize="16"
56+
FontWeight="Medium"
57+
Foreground="#37392c">
58+
Title
59+
</TextBlock>
60+
<TextBlock
61+
x:Name="tbSubTitle"
62+
Grid.Row="1"
63+
Foreground="#8e94a4">
64+
sdfdsf
65+
</TextBlock>
3766
</Grid>
38-
<Image x:Name="imgClose" Grid.Column="2" Cursor="Hand" Width="16" VerticalAlignment="Top"
39-
HorizontalAlignment="Right" Grid.ColumnSpan="2" />
67+
<Image
68+
x:Name="imgClose"
69+
Grid.Column="2"
70+
Grid.ColumnSpan="2"
71+
Width="16"
72+
HorizontalAlignment="Right"
73+
VerticalAlignment="Top"
74+
Cursor="Hand" />
4075
</Grid>
4176
</Window>

0 commit comments

Comments
 (0)