Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
Thick-Common
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
潘栩锋
Thick-Common
Commits
e7b34840
Commit
e7b34840
authored
Jun 11, 2021
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化 缩小Styles.Text 的 FontSize
parent
793d4b56
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
12 deletions
+19
-12
TextStyle2.xaml
....ControlLibrary/FLY.ControlLibrary/Themes/TextStyle2.xaml
+19
-12
No files found.
Project.FLY.ControlLibrary/FLY.ControlLibrary/Themes/TextStyle2.xaml
View file @
e7b34840
...
@@ -4,12 +4,19 @@
...
@@ -4,12 +4,19 @@
xmlns:osk="clr-namespace:FLY.ControlLibrary.UI.OSK;assembly=FLY.ControlLibrary"
xmlns:osk="clr-namespace:FLY.ControlLibrary.UI.OSK;assembly=FLY.ControlLibrary"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:sys="clr-namespace:System;assembly=mscorlib"
mc:Ignorable="d"
mc:Ignorable="d"
>
>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/FLY.ControlLibrary;component/Themes/BaseStyle.xaml"/>
<ResourceDictionary Source="pack://application:,,,/FLY.ControlLibrary;component/Themes/BaseStyle.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary.MergedDictionaries>
<sys:Double x:Key="FontSize.FieldHeader">18</sys:Double>
<sys:Double x:Key="FontSize.FieldHeader.Small">12</sys:Double>
<sys:Double x:Key="FontSize.FieldContent">30</sys:Double>
<sys:Double x:Key="FontSize.FieldContent.Small">18</sys:Double>
<sys:Double x:Key="FontSize.FieldContent.Middle">24</sys:Double>
<Thickness x:Key="Margin.Text">3</Thickness>
<!-- 输入框 带虚拟键盘 -->
<!-- 输入框 带虚拟键盘 -->
<Style TargetType="TextBox" x:Key="Styles.Text.Input">
<Style TargetType="TextBox" x:Key="Styles.Text.Input">
...
@@ -36,17 +43,17 @@
...
@@ -36,17 +43,17 @@
</Style>
</Style>
<!-- 只读项 的标题 -->
<!-- 只读项 的标题 -->
<Style TargetType="TextBlock" x:Key="Styles.Text.FieldHeader">
<Style TargetType="TextBlock" x:Key="Styles.Text.FieldHeader">
<Setter Property="Margin" Value="
3
" />
<Setter Property="Margin" Value="
{StaticResource Margin.Text}
" />
<Setter Property="Foreground" Value="#FF3B3B3B" />
<Setter Property="Foreground" Value="#FF3B3B3B" />
<Setter Property="FontWeight" Value="Bold" />
<Setter Property="FontWeight" Value="Bold" />
<Setter Property="FontSize" Value="
22
" />
<Setter Property="FontSize" Value="
{StaticResource FontSize.FieldHeader}
" />
<Setter Property="FontFamily" Value="YouYuan" />
<Setter Property="FontFamily" Value="YouYuan" />
<Setter Property="TextAlignment" Value="Left" />
<Setter Property="TextAlignment" Value="Left" />
</Style>
</Style>
<!-- 只读项 的标题 2行 -->
<!-- 只读项 的标题 2行 -->
<Style TargetType="TextBlock" x:Key="Styles.Text.FieldHeader.Row2" BasedOn="{StaticResource Styles.Text.FieldHeader}">
<Style TargetType="TextBlock" x:Key="Styles.Text.FieldHeader.Row2" BasedOn="{StaticResource Styles.Text.FieldHeader}">
<Setter Property="FontSize" Value="
15
" />
<Setter Property="FontSize" Value="
{StaticResource FontSize.FieldHeader.Small}
" />
</Style>
</Style>
<!-- 可写项 的标题 -->
<!-- 可写项 的标题 -->
...
@@ -56,25 +63,25 @@
...
@@ -56,25 +63,25 @@
<!-- 可写项 的标题 2行 -->
<!-- 可写项 的标题 2行 -->
<Style TargetType="TextBlock" x:Key="Styles.Text.FieldHeader.Editable.Row2" BasedOn="{StaticResource Styles.Text.FieldHeader.Editable}">
<Style TargetType="TextBlock" x:Key="Styles.Text.FieldHeader.Editable.Row2" BasedOn="{StaticResource Styles.Text.FieldHeader.Editable}">
<Setter Property="FontSize" Value="
15
" />
<Setter Property="FontSize" Value="
{StaticResource FontSize.FieldHeader.Small}
" />
</Style>
</Style>
<!-- 只读项 内容 -->
<!-- 只读项 内容 -->
<Style TargetType="TextBlock" x:Key="Styles.Text.FieldContent">
<Style TargetType="TextBlock" x:Key="Styles.Text.FieldContent">
<Setter Property="Margin" Value="
3
" />
<Setter Property="Margin" Value="
{StaticResource Margin.Text}
" />
<Setter Property="Foreground" Value="#FF3B3B3B" />
<Setter Property="Foreground" Value="#FF3B3B3B" />
<Setter Property="FontWeight" Value="Bold" />
<Setter Property="FontWeight" Value="Bold" />
<Setter Property="FontSize" Value="
36
" />
<Setter Property="FontSize" Value="
{StaticResource FontSize.FieldContent}
" />
<Setter Property="FontFamily" Value="Arial" />
<Setter Property="FontFamily" Value="Arial" />
<Setter Property="TextAlignment" Value="Left" />
<Setter Property="TextAlignment" Value="Left" />
</Style>
</Style>
<!-- 输入框 内容 -->
<!-- 输入框 内容 -->
<Style TargetType="TextBox" x:Key="Styles.Text.FieldContent.Input" BasedOn="{StaticResource Styles.Text.Input}">
<Style TargetType="TextBox" x:Key="Styles.Text.FieldContent.Input" BasedOn="{StaticResource Styles.Text.Input}">
<Setter Property="Margin" Value="
3
" />
<Setter Property="Margin" Value="
{StaticResource Margin.Text}
" />
<Setter Property="Foreground" Value="#FF3B3B3B" />
<Setter Property="Foreground" Value="#FF3B3B3B" />
<Setter Property="FontWeight" Value="Bold" />
<Setter Property="FontWeight" Value="Bold" />
<Setter Property="FontSize" Value="
36
" />
<Setter Property="FontSize" Value="
{StaticResource FontSize.FieldContent}
" />
<Setter Property="FontFamily" Value="Arial" />
<Setter Property="FontFamily" Value="Arial" />
<Setter Property="TextAlignment" Value="Left" />
<Setter Property="TextAlignment" Value="Left" />
<Setter Property="MinWidth" Value="30" />
<Setter Property="MinWidth" Value="30" />
...
@@ -86,7 +93,7 @@
...
@@ -86,7 +93,7 @@
<!-- 内容的分割线 -->
<!-- 内容的分割线 -->
<Style TargetType="TextBlock" x:Key="Styles.Text.FieldContent.Separator">
<Style TargetType="TextBlock" x:Key="Styles.Text.FieldContent.Separator">
<Setter Property="Foreground" Value="#FF888888" />
<Setter Property="Foreground" Value="#FF888888" />
<Setter Property="FontSize" Value="
36
" />
<Setter Property="FontSize" Value="
{StaticResource FontSize.FieldContent}
" />
<Setter Property="FontFamily" Value="Arial" />
<Setter Property="FontFamily" Value="Arial" />
<Setter Property="TextAlignment" Value="Left" />
<Setter Property="TextAlignment" Value="Left" />
<Setter Property="VerticalAlignment" Value="Bottom" />
<Setter Property="VerticalAlignment" Value="Bottom" />
...
@@ -96,7 +103,7 @@
...
@@ -96,7 +103,7 @@
<!-- 内容的单位 -->
<!-- 内容的单位 -->
<Style TargetType="TextBlock" x:Key="Styles.Text.FieldContent.Unit">
<Style TargetType="TextBlock" x:Key="Styles.Text.FieldContent.Unit">
<Setter Property="Foreground" Value="#FF888888" />
<Setter Property="Foreground" Value="#FF888888" />
<Setter Property="FontSize" Value="
22
" />
<Setter Property="FontSize" Value="
{StaticResource FontSize.FieldContent.Small}
" />
<Setter Property="FontFamily" Value="Arial" />
<Setter Property="FontFamily" Value="Arial" />
<Setter Property="TextAlignment" Value="Left" />
<Setter Property="TextAlignment" Value="Left" />
<Setter Property="VerticalAlignment" Value="Bottom" />
<Setter Property="VerticalAlignment" Value="Bottom" />
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment