|
19 | 19 | <ui:Label text="Loading..." /> |
20 | 20 | <ui:Label text="Loading..." name="ErrorLabel" class="error-text" /> |
21 | 21 | </ui:VisualElement> |
22 | | - <ui:VisualElement name="WelcomeBlock" style="flex-grow: 0; align-content: center; justify-content: center; align-items: center; flex-shrink: 10; padding-top: 32px; padding-right: 32px; padding-bottom: 32px; padding-left: 32px; align-self: stretch; display: none;"> |
23 | | - <ui:ScrollView vertical-scroller-visibility="Auto" name="ScrollView" horizontal-scroller-visibility="Hidden" style="flex-grow: 0; flex-shrink: 1; align-self: stretch;"> |
24 | | - <ui:VisualElement name="WelcomeBlock" style="flex-grow: 0; align-content: stretch; justify-content: space-between; align-items: stretch; flex-shrink: 1; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; align-self: stretch; display: flex;"> |
| 22 | + <ui:VisualElement name="WelcomeBlock" style="flex-grow: 1; align-content: center; justify-content: center; align-items: center; flex-shrink: 0; padding-top: 32px; padding-right: 32px; padding-bottom: 32px; padding-left: 32px; align-self: stretch; display: none;"> |
| 23 | + <ui:ScrollView vertical-scroller-visibility="Auto" name="ScrollView" horizontal-scroller-visibility="Hidden" style="flex-grow: 1; flex-shrink: 0; align-self: stretch;"> |
| 24 | + <ui:VisualElement name="WelcomeBlock" style="flex-grow: 1; align-content: stretch; justify-content: space-between; align-items: stretch; flex-shrink: 0; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; align-self: stretch; display: flex;"> |
25 | 25 | <ui:Label text="Welcome to Jahro" name="Title" class="h1" /> |
26 | 26 | <ui:Label text="enter your API key to begin" name="Subtitle" class="h2" /> |
27 | | - <ui:VisualElement style="flex-grow: 0; margin-top: 32px; align-self: stretch;"> |
| 27 | + <ui:VisualElement style="flex-grow: 0; margin-top: 32px; align-self: stretch; flex-shrink: 1;"> |
28 | 28 | <ui:Label text="Project API Key" class="text-category" /> |
29 | 29 | <ui:VisualElement name="apikey-input" style="flex-grow: 0; flex-direction: row; margin-bottom: 0; justify-content: center; align-items: center; align-content: flex-start;"> |
30 | 30 | <ui:TextField label="Text Field" placeholder-text="Enter your API key" name="key-input" hide-placeholder-on-focus="false" password="false" style="flex-grow: 1; min-width: 200px; flex-shrink: 0; margin-top: 4px;" /> |
31 | 31 | <ui:Button text="Submit" name="ValidateKey" class="btn-primary" style="flex-shrink: 1; flex-grow: 0; width: 100px; height: 36px; margin-top: 5px; margin-bottom: 0; padding-top: 0; padding-bottom: 0; padding-right: 0; padding-left: 0; margin-right: 0; margin-left: 0; align-self: auto; align-content: auto; align-items: stretch; justify-content: center; -unity-font-style: bold;" /> |
32 | 32 | </ui:VisualElement> |
33 | 33 | <ui:Label text="Error Message" name="KeyErrorLabel" class="text-subline error-text" style="padding-top: 6px;" /> |
34 | | - <ui:VisualElement style="flex-basis: 20px; flex-direction: row; align-items: center;"> |
35 | | - <ui:Label text="You can find the API key here in the" enable-rich-text="true" class="text-subline" style="padding-top: 0; -unity-text-align: middle-left;" /> |
| 34 | + <ui:VisualElement style="flex-basis: 20px; flex-direction: row; align-items: center; flex-grow: 1; flex-shrink: 0; flex-wrap: wrap; padding-top: 4px;"> |
| 35 | + <ui:Label text="You can find the API key here in the" enable-rich-text="true" class="text-subline" style="padding-top: 0; -unity-text-align: middle-left; white-space: normal;" /> |
36 | 36 | <ui:Button text="Project API Keys page" display-tooltip-when-elided="true" name="ProjectPageLink" class="footer-button" style="-unity-text-align: middle-left; align-items: flex-start; margin-left: 0; padding-left: 2px; padding-right: 2px;" /> |
37 | 37 | </ui:VisualElement> |
38 | 38 | </ui:VisualElement> |
|
41 | 41 | </ui:VisualElement> |
42 | 42 | <ui:VisualElement name="SettingsBlock" style="flex-grow: 1; align-content: center; justify-content: flex-start; align-items: stretch; flex-shrink: 0; padding-top: 32px; padding-right: 32px; padding-bottom: 32px; padding-left: 32px; align-self: auto; display: flex; flex-basis: 100%;"> |
43 | 43 | <ui:VisualElement name="TabView" style="flex-grow: 1; max-width: none; flex-basis: 100%;"> |
44 | | - <ui:VisualElement name="TabsControl" class="tab-header" style="height: 40px; flex-direction: row; justify-content: center; flex-shrink: 0; flex-basis: 40px; margin-bottom: 16px;"> |
45 | | - <ui:Button text="Account" display-tooltip-when-elided="true" name="AccountTab" class="tab-button" /> |
46 | | - <ui:Button text="Settings" display-tooltip-when-elided="true" name="SettingTab" class="tab-button" /> |
| 44 | + <ui:VisualElement name="TabsControl" class="tab-header" style="height: auto; flex-direction: row; justify-content: center; flex-shrink: 0; flex-basis: auto; margin-bottom: 0; flex-wrap: wrap; flex-grow: 0; align-items: stretch; padding-top: 0; padding-bottom: 0; padding-right: 0; padding-left: 0;"> |
| 45 | + <ui:Button text="Account" display-tooltip-when-elided="true" name="AccountTab" class="tab-button" style="max-height: 36px; min-height: 36px; height: 36px; margin-top: 4px; margin-bottom: 4px;" /> |
| 46 | + <ui:Button text="Snapshots Settings" display-tooltip-when-elided="true" name="SnapshotsTab" class="tab-button" style="height: 40px; max-height: 40px; min-height: 40px; margin-top: 4px; margin-bottom: 4px;" /> |
| 47 | + <ui:Button text="General Settings" display-tooltip-when-elided="true" name="SettingTab" class="tab-button" style="height: 40px; min-height: 40px; max-height: 40px; margin-top: 4px; margin-bottom: 4px;" /> |
47 | 48 | </ui:VisualElement> |
48 | | - <ui:VisualElement style="flex-grow: 1;"> |
| 49 | + <ui:VisualElement style="flex-grow: 100; margin-top: 16px;"> |
49 | 50 | <ui:VisualElement name="AccountContainer" style="flex-grow: 1; display: none;"> |
50 | 51 | <ui:ScrollView> |
51 | 52 | <ui:VisualElement name="VisualElement" style="flex-grow: 1; flex-shrink: 0; justify-content: space-between; align-self: stretch; align-content: stretch; height: 100%; flex-basis: auto;"> |
|
81 | 82 | </ui:VisualElement> |
82 | 83 | </ui:ScrollView> |
83 | 84 | </ui:VisualElement> |
84 | | - <ui:VisualElement name="SettingsContainer" style="display: flex; flex-grow: 1;"> |
| 85 | + <ui:VisualElement name="SettingsContainer" style="display: none; flex-grow: 1;"> |
85 | 86 | <ui:ScrollView horizontal-scroller-visibility="Hidden" name="ScrollView" style="margin-top: 8px; margin-bottom: 8px;"> |
86 | 87 | <ui:VisualElement name="SettingsItem" style="flex-grow: 1; flex-direction: row; justify-content: space-between; flex-wrap: nowrap; flex-shrink: 0; flex-basis: auto; padding-top: 8px; padding-bottom: 8px;"> |
87 | 88 | <ui:VisualElement name="VisualElement" style="flex-grow: 1; margin-left: 0;"> |
|
103 | 104 | <ui:Label text="Launch Key" name="Title" class="settings-item-title" style="margin-top: 2px; margin-bottom: 2px;" /> |
104 | 105 | <ui:Label text="Set the key to open the Jahro window during play mode." name="Description" class="settings-item-description" /> |
105 | 106 | </ui:VisualElement> |
106 | | - <uie:EnumField value="Center" name="LaunchKeyPicker" style="min-width: auto; flex-grow: 1;" /> |
| 107 | + <uie:EnumField value="Center" name="LaunchKeyPicker" style="min-width: 150px; flex-grow: 1; min-height: 40px; max-height: 40px; margin-top: 3px; margin-bottom: 3px;" /> |
107 | 108 | </ui:VisualElement> |
108 | 109 | <ui:VisualElement name="SettingsItem" style="flex-grow: 1; flex-direction: row; justify-content: space-between; flex-wrap: nowrap; flex-shrink: 0; flex-basis: auto; padding-top: 8px; padding-bottom: 8px;"> |
109 | 110 | <ui:VisualElement name="VisualElement" style="flex-grow: 1; margin-left: 0;"> |
|
119 | 120 | </ui:VisualElement> |
120 | 121 | <ui:Toggle name="MobileTapAreaToggle" style="min-width: auto; justify-content: flex-end; align-content: flex-end; align-self: auto; align-items: stretch; flex-direction: row;" /> |
121 | 122 | </ui:VisualElement> |
122 | | - <ui:VisualElement name="SettingsItem" style="flex-grow: 1; flex-direction: row; justify-content: space-between; flex-wrap: nowrap; flex-shrink: 0; flex-basis: auto; padding-top: 8px; padding-bottom: 8px;"> |
123 | | - <ui:VisualElement name="VisualElement" style="flex-grow: 1; margin-left: 0;"> |
124 | | - <ui:Label text="Duplicate Jahro.Log to Console" name="Title" class="settings-item-title" style="margin-top: 2px; margin-bottom: 2px;" /> |
125 | | - <ui:Label text="Show Jahro.Log() messages in Unity Console too." name="Description" class="settings-item-description" /> |
126 | | - </ui:VisualElement> |
127 | | - <ui:Toggle name="DublicateLogsToggle" style="min-width: auto; justify-content: flex-end; align-content: flex-end; align-self: auto; align-items: stretch; flex-direction: row;" /> |
128 | | - </ui:VisualElement> |
129 | 123 | <ui:VisualElement name="Separator" style="flex-grow: 1; border-top-width: 0; border-left-color: rgba(0, 0, 0, 0.6); border-right-color: rgba(0, 0, 0, 0.6); border-top-color: rgba(0, 0, 0, 0.6); border-bottom-color: rgba(0, 0, 0, 0.6); background-color: rgb(75, 75, 75); height: 2px; margin-top: 8px; margin-bottom: 4px;" /> |
130 | 124 | <ui:VisualElement name="SettingsItem" style="flex-grow: 1; flex-direction: row; justify-content: space-between; flex-wrap: wrap; flex-shrink: 0; flex-basis: auto; padding-top: 8px; padding-bottom: 8px;"> |
131 | 125 | <ui:VisualElement name="VisualElement" style="flex-grow: 1; margin-left: 0; min-width: 150px;"> |
132 | 126 | <ui:Label text="Assemblies" name="Title" class="settings-item-title" style="margin-top: 2px; margin-bottom: 2px;" /> |
133 | 127 | <ui:Label text="Select assemblies where Jahro looks for Commands and Watchers." name="Description" class="settings-item-description" /> |
134 | 128 | </ui:VisualElement> |
135 | | - <uie:MaskField name="AssembliesPicker" style="min-width: auto; flex-grow: 1;" /> |
| 129 | + <uie:MaskField name="AssembliesPicker" style="min-width: 150px; flex-grow: 1; min-height: 40px; max-height: 40px; margin-top: 3px; margin-bottom: 3px;" /> |
| 130 | + </ui:VisualElement> |
| 131 | + <ui:VisualElement name="Separator" style="flex-grow: 1; border-top-width: 0; border-left-color: rgba(0, 0, 0, 0.6); border-right-color: rgba(0, 0, 0, 0.6); border-top-color: rgba(0, 0, 0, 0.6); border-bottom-color: rgba(0, 0, 0, 0.6); background-color: rgb(75, 75, 75); height: 2px; margin-top: 8px; margin-bottom: 4px;" /> |
| 132 | + </ui:ScrollView> |
| 133 | + </ui:VisualElement> |
| 134 | + <ui:VisualElement name="SnapshotsContainer" style="display: flex; flex-grow: 1;"> |
| 135 | + <ui:ScrollView horizontal-scroller-visibility="Hidden" name="ScrollView" style="margin-top: 8px; margin-bottom: 8px;"> |
| 136 | + <ui:VisualElement name="SettingsItem" style="flex-grow: 1; flex-direction: row; justify-content: space-between; flex-wrap: wrap; flex-shrink: 0; flex-basis: auto; padding-top: 8px; padding-bottom: 8px; align-items: flex-end;"> |
| 137 | + <ui:VisualElement name="VisualElement" style="flex-grow: 1; margin-left: 0;"> |
| 138 | + <ui:Label text="Snapshots Mode" name="Title" class="settings-item-title" style="margin-top: 2px; margin-bottom: 2px; padding-bottom: 8px;" /> |
| 139 | + <ui:Label text="<color=white><b>Recording</b></color> Snapshots are stored on the device only. Nothing is uploaded to Jahro. <color=white><b>Streaming - Except Editor</b></color> Auto-upload for devices; Editor snapshots stay local <color=white><b>Streaming - All</b></color> Auto-upload snapshots to Jahro for every platform" name="Description" double-click-selects-word="false" class="settings-item-description" /> |
| 140 | + </ui:VisualElement> |
| 141 | + <uie:EnumField value="Center" name="SnapshotsModePicker" style="min-width: 150px; flex-grow: 1; max-height: 40px; min-height: 40px; margin-top: 3px; margin-bottom: 3px;" /> |
136 | 142 | </ui:VisualElement> |
| 143 | + <ui:VisualElement name="Separator" style="flex-grow: 1; border-top-width: 0; border-left-color: rgba(0, 0, 0, 0.6); border-right-color: rgba(0, 0, 0, 0.6); border-top-color: rgba(0, 0, 0, 0.6); border-bottom-color: rgba(0, 0, 0, 0.6); background-color: rgb(75, 75, 75); height: 2px; margin-top: 8px; margin-bottom: 4px;" /> |
137 | 144 | </ui:ScrollView> |
138 | 145 | </ui:VisualElement> |
139 | 146 | </ui:VisualElement> |
|
0 commit comments