修改字号

This commit is contained in:
李浩 2025-04-02 15:21:24 +08:00
parent 09e56730b8
commit d8d9d31794
3 changed files with 299 additions and 299 deletions

View File

@ -70,10 +70,10 @@ RectTransform:
m_Children: [] m_Children: []
m_Father: {fileID: 9173910592677138117} m_Father: {fileID: 9173910592677138117}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0} m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 0} m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 0, y: 0} m_AnchoredPosition: {x: 0, y: -22}
m_SizeDelta: {x: 0, y: 34} m_SizeDelta: {x: 54.01, y: 34}
m_Pivot: {x: 0, y: 0.5} m_Pivot: {x: 0, y: 0.5}
--- !u!222 &5612155728787226803 --- !u!222 &5612155728787226803
CanvasRenderer: CanvasRenderer:
@ -912,7 +912,7 @@ MonoBehaviour:
m_ChildForceExpandWidth: 0 m_ChildForceExpandWidth: 0
m_ChildForceExpandHeight: 0 m_ChildForceExpandHeight: 0
m_ChildControlWidth: 1 m_ChildControlWidth: 1
m_ChildControlHeight: 0 m_ChildControlHeight: 1
m_ChildScaleWidth: 0 m_ChildScaleWidth: 0
m_ChildScaleHeight: 0 m_ChildScaleHeight: 0
m_ReverseArrangement: 0 m_ReverseArrangement: 0
@ -945,7 +945,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_IgnoreLayout: 0 m_IgnoreLayout: 0
m_MinWidth: -1 m_MinWidth: 10
m_MinHeight: 20 m_MinHeight: 20
m_PreferredWidth: -1 m_PreferredWidth: -1
m_PreferredHeight: -1 m_PreferredHeight: -1
@ -3353,12 +3353,12 @@ MonoBehaviour:
m_Right: 0 m_Right: 0
m_Top: 0 m_Top: 0
m_Bottom: 0 m_Bottom: 0
m_ChildAlignment: 3 m_ChildAlignment: 0
m_Spacing: 0 m_Spacing: 0
m_ChildForceExpandWidth: 0 m_ChildForceExpandWidth: 0
m_ChildForceExpandHeight: 0 m_ChildForceExpandHeight: 0
m_ChildControlWidth: 1 m_ChildControlWidth: 1
m_ChildControlHeight: 0 m_ChildControlHeight: 1
m_ChildScaleWidth: 0 m_ChildScaleWidth: 0
m_ChildScaleHeight: 0 m_ChildScaleHeight: 0
m_ReverseArrangement: 0 m_ReverseArrangement: 0
@ -4301,9 +4301,9 @@ RectTransform:
- {fileID: 4460888939854281799} - {fileID: 4460888939854281799}
m_Father: {fileID: 9173910592677138117} m_Father: {fileID: 9173910592677138117}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0} m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 0} m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 0, y: 0} m_AnchoredPosition: {x: 59.01, y: -22}
m_SizeDelta: {x: 0, y: 34} m_SizeDelta: {x: 0, y: 34}
m_Pivot: {x: 0.00000007636845, y: 0.5} m_Pivot: {x: 0.00000007636845, y: 0.5}
--- !u!1 &8390197820936015822 --- !u!1 &8390197820936015822

View File

@ -131,7 +131,7 @@ namespace QFramework.Example
FontAdd.onClick.AddListener(() => FontAdd.onClick.AddListener(() =>
{ {
if (Des.fontSize <= 31) if (Des.fontSize <= 18)
{ {
Des.fontSize++; Des.fontSize++;
} }
@ -139,7 +139,7 @@ namespace QFramework.Example
FontSub.onClick.AddListener(() => FontSub.onClick.AddListener(() =>
{ {
if (Des.fontSize > 1) if (Des.fontSize > 13)
{ {
Des.fontSize--; Des.fontSize--;
} }

File diff suppressed because it is too large Load Diff