SHA256
forked from ADOFAIEditorForum/ADOFAIRenderer
Adjust Font Size
This commit is contained in:
3 files changed
+5
-5
No files matched your search
@@ -197,7 +197,7 @@ namespace ADOFAIRenderer.UI
|
||||
|
||||
var descText = descObj.AddComponent<TextMeshProUGUI>();
|
||||
descText.text = description;
|
||||
descText.fontSize = 15;
|
||||
descText.fontSize = 20;
|
||||
descText.font = font;
|
||||
descText.color = new Color(0.85f, 0.85f, 0.85f, 1f);
|
||||
descText.alignment = TextAlignmentOptions.Center;
|
||||
@@ -288,7 +288,7 @@ namespace ADOFAIRenderer.UI
|
||||
|
||||
var text = txtObj.AddComponent<TextMeshProUGUI>();
|
||||
text.text = btnData.Text;
|
||||
text.fontSize = 14;
|
||||
text.fontSize = 20;
|
||||
text.font = font;
|
||||
text.color = Color.white;
|
||||
text.alignment = TextAlignmentOptions.Center;
|
||||
|
||||
@@ -274,7 +274,7 @@ namespace ADOFAIRenderer.UI
|
||||
|
||||
var downloadText = downloadTextObj.AddComponent<TextMeshProUGUI>();
|
||||
downloadText.text = Application.platform != RuntimePlatform.OSXPlayer ? "다운로드 및 설치" : "사이트 열기";
|
||||
downloadText.fontSize = 15;
|
||||
downloadText.fontSize = 20;
|
||||
downloadText.font = font;
|
||||
downloadText.color = Color.white;
|
||||
downloadText.alignment = TextAlignmentOptions.Center;
|
||||
@@ -311,7 +311,7 @@ namespace ADOFAIRenderer.UI
|
||||
|
||||
var cancelText = cancelTextObj.AddComponent<TextMeshProUGUI>();
|
||||
cancelText.text = "취소";
|
||||
cancelText.fontSize = 15;
|
||||
cancelText.fontSize = 20;
|
||||
cancelText.font = font;
|
||||
cancelText.color = new Color(0.9f, 0.9f, 0.9f, 1f);
|
||||
cancelText.alignment = TextAlignmentOptions.Center;
|
||||
|
||||
@@ -372,7 +372,7 @@ namespace ADOFAIRenderer.UI
|
||||
style =
|
||||
{
|
||||
color = new StyleColor(new Color(1.0f, 0.8f, 0.2f)),
|
||||
fontSize = 12,
|
||||
fontSize = 20,
|
||||
unityTextAlign = TextAnchor.MiddleCenter,
|
||||
whiteSpace = WhiteSpace.Normal
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user