1: fit ui on 16:9 aspect ratios

This commit is contained in:
mangorifo
2024-02-05 00:40:21 +08:00
parent 088413a5d9
commit 159c74df2a
108 changed files with 12619 additions and 213 deletions
+9
View File
@@ -0,0 +1,9 @@
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
<ui:VisualElement name="Container" style="flex-grow: 1; height: 251px; flex-direction: column-reverse;">
<ui:Label tabindex="-1" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Message" style="height: 566px; width: 1371px; font-size: 37px; -unity-font: url(&apos;project://database/Assets/Fonts/Roboto_Mono/static/RobotoMono-Regular.ttf?fileID=12800000&amp;guid=6fb62f3572e0f2d4a90bd6dece4a4f76&amp;type=3#RobotoMono-Regular&apos;); -unity-font-definition: url(&apos;project://database/Assets/Fonts/Roboto_Mono/static/RobotoMono-Regular%20SDF.asset?fileID=11400000&amp;guid=d97ee369c49a99a4594420dfa306a732&amp;type=2#RobotoMono-Regular SDF&apos;); color: rgb(255, 255, 255); white-space: normal; position: absolute; left: 50px; top: 50px;" />
<ui:VisualElement name="ExtraContent" style="flex-grow: 1; position: absolute; height: 152px; top: 710px; width: 1533px; background-color: rgba(120, 147, 95, 0.76); visibility: hidden;">
<ui:Button text="Open Developer Menu" parse-escape-sequences="true" display-tooltip-when-elided="true" name="OpenDevMenu" style="position: absolute; height: 59px; width: 461px; top: 50px; left: 45px; -unity-font: url(&apos;project://database/Assets/Fonts/Roboto_Mono/static/RobotoMono-Regular.ttf?fileID=12800000&amp;guid=6fb62f3572e0f2d4a90bd6dece4a4f76&amp;type=3#RobotoMono-Regular&apos;); -unity-font-definition: url(&apos;project://database/Assets/Fonts/Roboto_Mono/static/RobotoMono-Regular%20SDF.asset?fileID=11400000&amp;guid=d97ee369c49a99a4594420dfa306a732&amp;type=2#RobotoMono-Regular SDF&apos;); font-size: 29px; background-color: rgb(232, 255, 238);" />
</ui:VisualElement>
</ui:VisualElement>
<ui:Label tabindex="-1" text="Test Version - Alpha_0.0.1" parse-escape-sequences="true" display-tooltip-when-elided="true" name="JTWVersion" style="position: absolute; top: 800px; left: 1030px; -unity-font: url(&apos;project://database/Assets/Fonts/Roboto_Mono/static/RobotoMono-Regular.ttf?fileID=12800000&amp;guid=6fb62f3572e0f2d4a90bd6dece4a4f76&amp;type=3#RobotoMono-Regular&apos;); -unity-font-definition: url(&apos;project://database/Assets/Fonts/Roboto_Mono/static/RobotoMono-Regular%20SDF.asset?fileID=11400000&amp;guid=d97ee369c49a99a4594420dfa306a732&amp;type=2#RobotoMono-Regular SDF&apos;); font-size: 30px; -unity-text-align: upper-right; color: rgb(255, 255, 255); -unity-font-style: italic;" />
</ui:UXML>
-3
View File
@@ -1,3 +0,0 @@
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
<ui:Label tabindex="-1" text="Label" parse-escape-sequences="true" display-tooltip-when-elided="true" />
</ui:UXML>