This repository has been archived by the owner on Feb 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from B1ackSand/div
Modify UI.
- Loading branch information
Showing
19 changed files
with
1,554 additions
and
681 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,69 +1,71 @@ | ||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> | ||
<!--存储常用的控件Style格式--> | ||
|
||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> | ||
<!-- 存储常用的控件Style格式 --> | ||
|
||
<Style x:Key="BaseButton" TargetType="Button"> | ||
<Setter Property="Width" Value="120"></Setter> | ||
<Setter Property="Height" Value="30"></Setter> | ||
<Setter Property="VerticalAlignment" Value="Center"></Setter> | ||
<Setter Property="HorizontalAlignment" Value="Right"></Setter> | ||
<Setter Property="Width" Value="120" /> | ||
<Setter Property="Height" Value="30" /> | ||
<Setter Property="VerticalAlignment" Value="Center" /> | ||
<Setter Property="HorizontalAlignment" Value="Right" /> | ||
</Style> | ||
|
||
<Style x:Key="BaseCheckBox" TargetType="CheckBox"> | ||
<Setter Property="Width" Value="120"></Setter> | ||
<Setter Property="Height" Value="30"></Setter> | ||
<Setter Property="VerticalAlignment" Value="Center"></Setter> | ||
<Setter Property="HorizontalAlignment" Value="Center"></Setter> | ||
<Setter Property="FontSize" Value="16"></Setter> | ||
<Setter Property="RenderTransformOrigin" Value="0.5,0.5"></Setter> | ||
<Setter Property="Width" Value="120" /> | ||
<Setter Property="Height" Value="30" /> | ||
<Setter Property="VerticalAlignment" Value="Center" /> | ||
<Setter Property="HorizontalAlignment" Value="Center" /> | ||
<Setter Property="FontSize" Value="16" /> | ||
<Setter Property="RenderTransformOrigin" Value="0.5,0.5" /> | ||
</Style> | ||
|
||
<Style x:Key="BaseLabel" TargetType="Label"> | ||
<Setter Property="FontSize" Value="20"></Setter> | ||
<Setter Property="FontWeight" Value="Bold"></Setter> | ||
<Setter Property="HorizontalAlignment" Value="Left"></Setter> | ||
<Setter Property="VerticalAlignment" Value="Center"></Setter> | ||
<Setter Property="FontSize" Value="20" /> | ||
<Setter Property="FontWeight" Value="Bold" /> | ||
<Setter Property="HorizontalAlignment" Value="Center" /> | ||
<Setter Property="VerticalAlignment" Value="Center" /> | ||
</Style> | ||
|
||
<Style x:Key="BaseTextBox" TargetType="TextBox"> | ||
<Setter Property="Focusable" Value="False"></Setter> | ||
<Setter Property="FontSize" Value="20"></Setter> | ||
<Setter Property="VerticalAlignment" Value="Center"></Setter> | ||
<Setter Property="Focusable" Value="False" /> | ||
<Setter Property="FontSize" Value="20" /> | ||
<Setter Property="VerticalAlignment" Value="Center" /> | ||
</Style> | ||
|
||
<Style x:Key="BaseComboBox" TargetType="ComboBox"> | ||
<Setter Property="Height" Value="30"/> | ||
<Setter Property="Width" Value="125"/> | ||
<Setter Property="VerticalAlignment" Value="Center"/> | ||
<Setter Property="HorizontalAlignment" Value="Center"/> | ||
<Setter Property="VerticalContentAlignment" Value="Center"/> | ||
<Setter Property="HorizontalContentAlignment" Value="Center"/> | ||
<Setter Property="IsEditable" Value="False"/> | ||
<Setter Property="Height" Value="30" /> | ||
<Setter Property="Width" Value="125" /> | ||
<Setter Property="VerticalAlignment" Value="Center" /> | ||
<Setter Property="HorizontalAlignment" Value="Center" /> | ||
<Setter Property="VerticalContentAlignment" Value="Center" /> | ||
<Setter Property="HorizontalContentAlignment" Value="Center" /> | ||
<Setter Property="IsEditable" Value="False" /> | ||
</Style> | ||
|
||
<Style x:Key="GridMinImage" TargetType="Image"> | ||
<Setter Property="Height" Value="60"/> | ||
<Setter Property="Width" Value="60"/> | ||
<Setter Property="Margin" Value="15,0,0,0"/> | ||
<Setter Property="HorizontalAlignment" Value="Left"/> | ||
<Setter Property="Stretch" Value="Fill"/> | ||
<Setter Property="Height" Value="60" /> | ||
<Setter Property="Width" Value="60" /> | ||
<Setter Property="Margin" Value="15,0,0,0" /> | ||
<Setter Property="HorizontalAlignment" Value="Left" /> | ||
<Setter Property="Stretch" Value="Fill" /> | ||
</Style> | ||
|
||
<Style x:Key="ClickableImg" TargetType="Image" BasedOn="{StaticResource GridMinImage}"> | ||
<Setter Property="Cursor" Value="Hand"/> | ||
<Style | ||
x:Key="ClickableImg" | ||
BasedOn="{StaticResource GridMinImage}" | ||
TargetType="Image"> | ||
<Setter Property="Cursor" Value="Hand" /> | ||
</Style> | ||
|
||
<Style x:Key="MapImg" TargetType="Image"> | ||
<Setter Property="Height" Value="85"/> | ||
<Setter Property="Width" Value="285"/> | ||
<Setter Property="Stretch" Value="UniformToFill"/> | ||
<Setter Property="Height" Value="85" /> | ||
<Setter Property="Width" Value="285" /> | ||
<Setter Property="Stretch" Value="UniformToFill" /> | ||
</Style> | ||
|
||
<Style x:Key="MapName" TargetType="TextBlock"> | ||
<Setter Property="VerticalAlignment" Value="Center"/> | ||
<Setter Property="TextAlignment" Value="Center"/> | ||
<Setter Property="FontSize" Value="18"/> | ||
<Setter Property="Foreground" Value="Red"/> | ||
<Setter Property="FontWeight" Value="Bold"/> | ||
<Setter Property="VerticalAlignment" Value="Center" /> | ||
<Setter Property="TextAlignment" Value="Center" /> | ||
<Setter Property="FontSize" Value="18" /> | ||
<Setter Property="Foreground" Value="Red" /> | ||
<Setter Property="FontWeight" Value="Bold" /> | ||
</Style> | ||
</ResourceDictionary> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.