Update LauncherFormStylishInterface.xaml
This commit is contained in:
parent
84b18e2a0d
commit
66f0696fed
|
|
@ -56,10 +56,46 @@
|
|||
</Setter>
|
||||
</Style>
|
||||
|
||||
<Style x:Key="ButtonStyle1" TargetType="{x:Type Button}">
|
||||
<Style TargetType="{x:Type Button}">
|
||||
<Setter Property="Background" Value="#FFBBBBBB" />
|
||||
<Setter Property="Foreground" Value="Black" />
|
||||
<Setter Property="FontFamily" Value="Helvetica" />
|
||||
<Setter Property="FontSize" Value="12" />
|
||||
<Setter Property="VerticalContentAlignment" Value="Center" />
|
||||
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
||||
<Setter Property="SnapsToDevicePixels" Value="True" />
|
||||
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="{x:Type Button}">
|
||||
<Border CornerRadius="1" Background="{TemplateBinding Background}" BorderBrush="Black" BorderThickness="1">
|
||||
<Grid>
|
||||
<ContentPresenter x:Name="MyContentPresenter" Content="{TemplateBinding Content}" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,0,0,0" />
|
||||
</Grid>
|
||||
</Border>
|
||||
|
||||
<ControlTemplate.Triggers>
|
||||
<Trigger Property="IsMouseOver" Value="True">
|
||||
<Setter Property="Background" Value="#FFF7DF80" />
|
||||
<Setter Property="Foreground" Value="Black" />
|
||||
</Trigger>
|
||||
|
||||
<Trigger Property="IsPressed" Value="True">
|
||||
<Setter Property="Background" Value="#FF93770C" />
|
||||
<Setter Property="Foreground" Value="Black" />
|
||||
</Trigger>
|
||||
</ControlTemplate.Triggers>
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
</Style>
|
||||
|
||||
<Style x:Key="ImportantButton" TargetType="{x:Type Button}">
|
||||
<Setter Property="Background" Value="#F4CC35" />
|
||||
<Setter Property="Foreground" Value="Black" />
|
||||
<Setter Property="FontSize" Value="18" />
|
||||
<Setter Property="VerticalContentAlignment" Value="Center" />
|
||||
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
||||
<Setter Property="SnapsToDevicePixels" Value="True" />
|
||||
|
||||
<Setter Property="Template">
|
||||
|
|
@ -87,12 +123,46 @@
|
|||
</Setter>
|
||||
</Style>
|
||||
|
||||
<Style x:Key="TextBoxStyle1" TargetType="{x:Type TextBox}">
|
||||
<Style x:Key="ImportantButtonSmall" TargetType="{x:Type Button}">
|
||||
<Setter Property="Background" Value="#F4CC35" />
|
||||
<Setter Property="Foreground" Value="Black" />
|
||||
<Setter Property="FontSize" Value="13" />
|
||||
<Setter Property="VerticalContentAlignment" Value="Center" />
|
||||
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
||||
<Setter Property="SnapsToDevicePixels" Value="True" />
|
||||
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="{x:Type Button}">
|
||||
<Border CornerRadius="4" Background="{TemplateBinding Background}" BorderBrush="Black" BorderThickness="1">
|
||||
<Grid>
|
||||
<ContentPresenter x:Name="MyContentPresenter" Content="{TemplateBinding Content}" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,0,0,0" />
|
||||
</Grid>
|
||||
</Border>
|
||||
|
||||
<ControlTemplate.Triggers>
|
||||
<Trigger Property="IsMouseOver" Value="True">
|
||||
<Setter Property="Background" Value="#FFF7DF80" />
|
||||
<Setter Property="Foreground" Value="Black" />
|
||||
</Trigger>
|
||||
|
||||
<Trigger Property="IsPressed" Value="True">
|
||||
<Setter Property="Background" Value="#FF93770C" />
|
||||
<Setter Property="Foreground" Value="Black" />
|
||||
</Trigger>
|
||||
</ControlTemplate.Triggers>
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
</Style>
|
||||
|
||||
<Style TargetType="{x:Type TextBox}">
|
||||
<Setter Property="FontSize" Value="12" />
|
||||
<Setter Property="FontFamily" Value="Helvetica" />
|
||||
<Setter Property="TextAlignment" Value="Center" />
|
||||
<Setter Property="VerticalContentAlignment" Value="Center" />
|
||||
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
||||
<Setter Property="Background" Value="#FFEDEDED"/>
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="{x:Type TextBoxBase}">
|
||||
|
|
@ -102,18 +172,19 @@
|
|||
<VisualBrush.Visual>
|
||||
<Rectangle StrokeDashArray="4 2" Stroke="Gray" StrokeThickness="2"
|
||||
Width="{Binding RelativeSource={RelativeSource AncestorType={x:Type Border}}, Path=ActualWidth}"
|
||||
Height="{Binding RelativeSource={RelativeSource AncestorType={x:Type Border}}, Path=ActualHeight}"/>
|
||||
Height="{Binding RelativeSource={RelativeSource AncestorType={x:Type Border}}, Path=ActualHeight}"
|
||||
Fill="#FFEDEDED"/>
|
||||
</VisualBrush.Visual>
|
||||
</VisualBrush>
|
||||
</Border.BorderBrush>
|
||||
<ScrollViewer Margin="0" x:Name="PART_ContentHost" />
|
||||
<ScrollViewer Margin="0" x:Name="PART_ContentHost" Background="#FFEDEDED"/>
|
||||
</Border>
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
</Style>
|
||||
|
||||
<Style x:Key="CheckBoxStyle1" TargetType="{x:Type CheckBox}">
|
||||
<Style TargetType="{x:Type CheckBox}">
|
||||
<Setter Property="FontSize" Value="12" />
|
||||
<Setter Property="VerticalContentAlignment" Value="Center" />
|
||||
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
||||
|
|
@ -128,15 +199,29 @@
|
|||
<ColumnDefinition Width="101*"/>
|
||||
<ColumnDefinition Width="584*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Rectangle Fill="#FFDEDCDC" HorizontalAlignment="Left" Height="237" Margin="10,10,0,0" Stroke="Black" VerticalAlignment="Top" Width="665" Grid.ColumnSpan="2"/>
|
||||
<Button x:Name="buttonTest" Style="{DynamicResource ButtonStyle1}" Content="Button" HorizontalAlignment="Left" Margin="78,95,0,0" VerticalAlignment="Top" Width="75" Grid.ColumnSpan="2"/>
|
||||
<TextBox x:Name="textBox" Style="{DynamicResource TextBoxStyle1}" HorizontalAlignment="Left" Height="20" Margin="78,54,0,0" TextWrapping="Wrap" Text="Bitl" VerticalAlignment="Top" Width="95" Grid.ColumnSpan="2"/>
|
||||
<CheckBox x:Name="checkBox" Style="{DynamicResource CheckBoxStyle1}" Content="TestCheck" HorizontalAlignment="Left" Margin="78,127,0,0" VerticalAlignment="Top" Width="83" Grid.ColumnSpan="2"/>
|
||||
</Grid>
|
||||
</TabItem>
|
||||
<TabItem Header="HOST" Style="{DynamicResource TabItemStyleSeperators}" BorderBrush="{x:Null}" Background="#FF294E64" Foreground="White" IsSelected="True" FontSize="18" FontFamily="Comic Sans MS">
|
||||
<Grid Background="#FFEDEDED">
|
||||
<Rectangle Fill="#FFDEDCDC" HorizontalAlignment="Left" Height="237" Margin="10,10,0,0" Stroke="Black" VerticalAlignment="Top" Width="665"/>
|
||||
<Rectangle x:Name="userInfoGroupBox" Fill="#FFDEDCDC" HorizontalAlignment="Left" Height="120" Margin="6,10,0,0" Stroke="Black" VerticalAlignment="Top" Width="163" Grid.ColumnSpan="2"/>
|
||||
<Button x:Name="buttonTest" Content="Regenerate ID" HorizontalAlignment="Left" Margin="44,104,0,0" VerticalAlignment="Top" Width="95" Grid.ColumnSpan="2" Height="21" RenderTransformOrigin="0.42,0.512"/>
|
||||
<TextBox x:Name="userNameBox" HorizontalAlignment="Left" Height="20" Margin="66,53,0,0" TextWrapping="Wrap" Text="Player" VerticalAlignment="Top" Width="95" Grid.ColumnSpan="2"/>
|
||||
<Rectangle x:Name="joinServerGroupBox" Fill="#FFDEDCDC" HorizontalAlignment="Left" Height="120" Margin="9,135,0,0" Stroke="Black" VerticalAlignment="Top" Width="160" Grid.ColumnSpan="2"/>
|
||||
<Rectangle x:Name="joinServerLabelBox" Fill="#FFAAA8A8" HorizontalAlignment="Left" Height="30" Margin="9,135,0,0" Stroke="Black" VerticalAlignment="Top" Width="160" Grid.ColumnSpan="2"/>
|
||||
<Rectangle x:Name="userInfoLabelBox" Fill="#FFAAA8A8" HorizontalAlignment="Left" Height="30" Margin="6,10,0,0" Stroke="Black" VerticalAlignment="Top" Width="163" Grid.ColumnSpan="2"/>
|
||||
<Label x:Name="userInfoLabel" Content="User Info" HorizontalAlignment="Left" Margin="44,9,0,0" VerticalAlignment="Top" FontSize="15" Grid.ColumnSpan="2" Width="87"/>
|
||||
<Label x:Name="userName" Content="Name:" HorizontalAlignment="Left" Margin="16,47,0,0" VerticalAlignment="Top" FontSize="12" Height="29" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
|
||||
<TextBox x:Name="userIDBox" HorizontalAlignment="Left" Height="20" Margin="66,81,0,0" TextWrapping="Wrap" Text="1" VerticalAlignment="Top" Width="95" Grid.ColumnSpan="2"/>
|
||||
<Label x:Name="userID" Content="ID:" HorizontalAlignment="Left" Margin="26,75,0,0" VerticalAlignment="Top" FontSize="12" Height="29" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
|
||||
<Label x:Name="joinServerLabel" Content="Play Novetus" HorizontalAlignment="Left" Margin="29,135,0,0" VerticalAlignment="Top" FontSize="15" Width="102" Grid.ColumnSpan="2"/>
|
||||
<TextBox x:Name="ipAddressBox" HorizontalAlignment="Left" Height="20" Margin="26,186,0,0" TextWrapping="Wrap" Text="localhost" VerticalAlignment="Top" Width="120" Grid.ColumnSpan="2"/>
|
||||
<Label x:Name="ipAddressLabel" Content="Server IP Address:" HorizontalAlignment="Left" Margin="29,165,0,0" VerticalAlignment="Top" FontSize="12" Height="29" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Grid.ColumnSpan="2"/>
|
||||
<TextBox x:Name="joinPortBox" HorizontalAlignment="Left" Height="20" Margin="26,221,0,0" TextWrapping="Wrap" Text="53640" VerticalAlignment="Top" Width="120" Grid.ColumnSpan="2"/>
|
||||
<Label x:Name="joinPortLabel" Content="Server Port" HorizontalAlignment="Left" Margin="44,199,0,0" VerticalAlignment="Top" FontSize="12" Height="27" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Width="86" Grid.ColumnSpan="2"/>
|
||||
<Button x:Name="joinButton" Style="{DynamicResource ImportantButton}" Content="Join Server with IP" HorizontalAlignment="Left" Margin="230,205,0,0" VerticalAlignment="Top" Width="186" Height="49" Grid.Column="1"/>
|
||||
<Button x:Name="serverBrowserButton" Style="{DynamicResource ImportantButtonSmall}" Content="Browse Servers" HorizontalAlignment="Left" Margin="421,205,0,0" VerticalAlignment="Top" Width="153" Height="22" Grid.Column="1"/>
|
||||
<Rectangle x:Name="hostServerGroupBox" Fill="#FFDEDCDC" HorizontalAlignment="Left" Height="245" Margin="72,10,0,0" Stroke="Black" VerticalAlignment="Top" Width="153" Grid.Column="1"/>
|
||||
<Rectangle x:Name="hostServerLabelBox" Fill="#FFAAA8A8" HorizontalAlignment="Left" Height="30" Margin="72,10,0,0" Stroke="Black" VerticalAlignment="Top" Width="153" Grid.Column="1"/>
|
||||
<Label x:Name="hostServerLabel" Content="Host Server" HorizontalAlignment="Left" Margin="100,10,0,0" VerticalAlignment="Top" FontSize="15" Width="98" Grid.Column="1"/>
|
||||
<Button x:Name="playSoloButton" Style="{DynamicResource ImportantButtonSmall}" Content="Play Solo" HorizontalAlignment="Left" Margin="421,232,0,0" VerticalAlignment="Top" Width="153" Height="22" Grid.Column="1" RenderTransformOrigin="1.3,0.863"/>
|
||||
<Label x:Name="label" Content="MAPS GO HERE" Grid.Column="1" HorizontalAlignment="Left" Margin="367,104,0,0" VerticalAlignment="Top"/>
|
||||
<Label x:Name="label1" Content="OPTIONS GO HERE" Grid.Column="1" HorizontalAlignment="Left" Margin="73,114,0,0" VerticalAlignment="Top"/>
|
||||
</Grid>
|
||||
</TabItem>
|
||||
<TabItem Header="VERSIONS" Style="{DynamicResource TabItemStyleSeperators}" BorderBrush="{x:Null}" Background="#FF294E64" Foreground="White" IsSelected="True" FontSize="18" FontFamily="Comic Sans MS">
|
||||
|
|
@ -148,11 +233,6 @@
|
|||
<Rectangle Fill="#FFDEDCDC" HorizontalAlignment="Left" Height="237" Margin="10,10,0,0" Stroke="Black" VerticalAlignment="Top" Width="665" Grid.ColumnSpan="2"/>
|
||||
</Grid>
|
||||
</TabItem>
|
||||
<TabItem Header="MAPS" Style="{DynamicResource TabItemStyleSeperators}" BorderBrush="{x:Null}" Background="#FF294E64" Foreground="White" IsSelected="True" FontSize="18" FontFamily="Comic Sans MS">
|
||||
<Grid Background="#FFEDEDED">
|
||||
<Rectangle Fill="#FFDEDCDC" HorizontalAlignment="Left" Height="237" Margin="10,10,0,0" Stroke="Black" VerticalAlignment="Top" Width="665"/>
|
||||
</Grid>
|
||||
</TabItem>
|
||||
<TabItem Header="SAVED" Style="{DynamicResource TabItemStyleSeperators}" BorderBrush="{x:Null}" Background="#FF294E64" Foreground="White" IsSelected="True" FontSize="18" FontFamily="Comic Sans MS">
|
||||
<Grid Background="#FFEDEDED">
|
||||
<Rectangle Fill="#FFDEDCDC" HorizontalAlignment="Left" Height="237" Margin="10,10,0,0" Stroke="Black" VerticalAlignment="Top" Width="665"/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue