Add round corner support for Wox.

This commit is contained in:
qianlifeng
2014-03-15 00:17:37 +08:00
parent 1b382e4391
commit ea4e25ea28
10 changed files with 195 additions and 146 deletions

View File

@@ -9,17 +9,21 @@
WindowStyle="None"
WindowStartupLocation="Manual"
ShowInTaskbar="False"
AllowsTransparency="True"
Background="{x:Null}"
Style="{DynamicResource WindowStyle}"
Icon="Images\app.png"
>
<Grid Style="{DynamicResource GridStyle}" x:Name="grid">
<Grid.RowDefinitions>
<RowDefinition ></RowDefinition>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
</Grid.RowDefinitions>
<TextBox Style="{DynamicResource QueryBoxStyle}" Grid.Row="0" x:Name="tbQuery" PreviewKeyDown="TbQuery_OnPreviewKeyDown" TextChanged="TextBoxBase_OnTextChanged" />
<Line Style="{DynamicResource PendingLineStyle}" x:Name="progressBar" Y1="0" Y2="0" X2="100" Grid.Row="1" Height="2" StrokeThickness="1"></Line>
<wox:ResultPanel x:Name="resultCtrl" Grid.Row="2"/>
</Grid>
<Border Style="{DynamicResource WindowBorderStyle}">
<Grid x:Name="grid">
<Grid.RowDefinitions>
<RowDefinition ></RowDefinition>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
</Grid.RowDefinitions>
<TextBox Style="{DynamicResource QueryBoxStyle}" Grid.Row="0" x:Name="tbQuery" PreviewKeyDown="TbQuery_OnPreviewKeyDown" TextChanged="TextBoxBase_OnTextChanged" />
<Line Style="{DynamicResource PendingLineStyle}" x:Name="progressBar" Y1="0" Y2="0" X2="100" Grid.Row="1" Height="2" StrokeThickness="1"></Line>
<wox:ResultPanel x:Name="resultCtrl" Grid.Row="2"/>
</Grid>
</Border>
</Window>