fake google
This commit is contained in:
@@ -9,6 +9,25 @@
|
||||
Title="FakeGoogle" Height="500" Width="800"
|
||||
MinHeight="500" MinWidth="800"
|
||||
FontFamily="맑은 고딕">
|
||||
<Window.Resources>
|
||||
<Style TargetType="{x:Type Button}">
|
||||
<Setter Property="Background" Value="#303134"/>
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="{x:Type Button}">
|
||||
<Border CornerRadius="5" Background="{TemplateBinding Background}" BorderBrush="Transparent">
|
||||
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
||||
</Border>
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
<Style.Triggers>
|
||||
<Trigger Property="IsMouseOver" Value="True">
|
||||
<Setter Property="Background" Value="#3A3A3A"/>
|
||||
</Trigger>
|
||||
</Style.Triggers>
|
||||
</Style>
|
||||
</Window.Resources>
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="3*"/>
|
||||
@@ -33,8 +52,8 @@
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Button x:Name="btnSearch" Background="#303134" BorderBrush="Transparent" Foreground="WhiteSmoke" Grid.Column="0" HorizontalAlignment="Right" Height="35" Width="120" Margin="10" Content="Google 검색"/>
|
||||
<Button x:Name="btnLucky" Background="#303134" BorderBrush="Transparent" Foreground="WhiteSmoke" Grid.Column="1" HorizontalAlignment="Left" Height="35" Width="120" Margin="10" Content="I'm feeling Lucky"/>
|
||||
<Button x:Name="btnSearch" Foreground="WhiteSmoke" Grid.Column="0" HorizontalAlignment="Right" Height="35" Width="120" Margin="10" Content="Google 검색"/>
|
||||
<Button x:Name="btnLucky" Foreground="WhiteSmoke" Grid.Column="1" HorizontalAlignment="Left" Height="35" Width="120" Margin="10" Content="I'm feeling Lucky"/>
|
||||
</Grid>
|
||||
</Grid>
|
||||
</Window>
|
||||
|
Reference in New Issue
Block a user