LoginUIDocument.uxml 3.5 KB

123456789101112131415161718192021222324252627
  1. <ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" editor-extension-mode="False">
  2. <Style src="project://database/Assets/UIDocument/Login.uss?fileID=7433441132597879392&amp;guid=4d2c10c2474ce3842949755483d662f2&amp;type=3#Login" />
  3. <ui:VisualElement style="justify-content: center; align-items: center; flex-grow: 1;">
  4. <ui:VisualElement name="LoginPanel" style="height: auto; align-items: center; justify-content: center; position: relative; display: flex;">
  5. <ui:Label text="Login" display-tooltip-when-elided="true" style="height: 34px; width: 314px; align-items: center; justify-content: center; position: relative; font-size: 24px; -unity-text-align: middle-center;" />
  6. <ui:TextField picking-mode="Ignore" text="Email" is-delayed="false" name="UsernameTextField" style="background-color: rgba(106, 106, 106, 0); justify-content: flex-start; align-items: center; width: 200px; min-height: 25px;" />
  7. <ui:TextField picking-mode="Ignore" value="filler text" text="placeholder" password="true" tabindex="1" usage-hints="None" name="PasswordTextField" style="background-color: rgba(106, 106, 106, 0); width: 200px; min-height: 25px; align-items: center;" />
  8. <ui:VisualElement name="LoginButtonPanel" style="height: 40px; width: 218px; flex-direction: row; align-items: center; justify-content: center;">
  9. <ui:Button text="Login" display-tooltip-when-elided="true" name="LoginButton" style="min-width: 100px;" />
  10. <ui:Button text="Register" display-tooltip-when-elided="true" name="RegisterButton" style="min-width: 100px;" />
  11. </ui:VisualElement>
  12. <ui:Label text="Warning text" display-tooltip-when-elided="true" name="WarningText" style="height: 17px; width: 204px; color: rgb(219, 22, 22); visibility: hidden; display: flex;" />
  13. </ui:VisualElement>
  14. <ui:VisualElement name="RegisterPanel" style="overflow: visible; visibility: visible; display: none; position: relative; justify-content: center; align-items: center;">
  15. <ui:Label text="Register" display-tooltip-when-elided="true" style="height: 34px; width: 314px; align-items: center; justify-content: center; position: relative; font-size: 24px; -unity-text-align: middle-center;" />
  16. <ui:TextField picking-mode="Ignore" value="filler text" text="Username" name="RegisterUsernameTextField" style="width: 200px; min-height: 25px;" />
  17. <ui:TextField picking-mode="Ignore" value="filler text" text="Email" name="RegisterEmailTextField" style="width: 200px; min-height: 25px;" />
  18. <ui:TextField picking-mode="Ignore" value="Password" text="Password" password="true" name="RegisterPasswordTextField" style="width: 200px; min-height: 25px;" />
  19. <ui:TextField picking-mode="Ignore" value="Password confirm" text="PasswordConfirm" password="true" name="RegisterPasswordConfirmTextField" style="width: 200px; min-height: 25px;" />
  20. <ui:VisualElement name="RegisterButtonPanel" style="flex-direction: row;">
  21. <ui:Button text="Register" display-tooltip-when-elided="true" name="RegisterOKButton" style="min-width: 100px;" />
  22. <ui:Button text="Back" display-tooltip-when-elided="true" name="RegisterBackButton" style="min-width: 100px;" />
  23. </ui:VisualElement>
  24. <ui:Label text="WarningText" display-tooltip-when-elided="true" name="RegisterWarningText" style="color: rgb(255, 28, 28); width: 200px; visibility: hidden; display: flex;" />
  25. </ui:VisualElement>
  26. </ui:VisualElement>
  27. </ui:UXML>