|
7 | 7 | <Style src="ModListDetailsItem.uss"/> |
8 | 8 | <ui:VisualElement class="root"> |
9 | 9 | <ui:VisualElement name="title-bar"> |
10 | | - <ui:Button text="←"/> |
| 10 | + <ui:Button name="back-button" text="←"/> |
11 | 11 | <ui:Label text="spacewarp.modlist"/> |
12 | 12 | </ui:VisualElement> |
13 | 13 | <ui:VisualElement name="body-container"> |
|
17 | 17 | <ui:Button name="enable-all-button" text="ENABLE ALL"/> |
18 | 18 | <ui:Button name="disable-all-button" text="DISABLE ALL"/> |
19 | 19 | </ui:VisualElement> |
20 | | - <ui:Button name="revert-changes-button" text="REVERT ALL CHANGES"/> |
21 | | - <ui:Label name="changes-label" text="{0} changes detected. Please restart the game."/> |
| 20 | + <ui:Button name="revert-changes-button" text="REVERT ALL CHANGES" /> |
| 21 | + <ui:Label name="changes-label" text="Changes detected: {0}. Please restart the game." style="display: none;"/> |
22 | 22 | </ui:VisualElement> |
23 | | - <ui:Foldout class="mods-foldout" text="SPACEWARP MODS"> |
24 | | - <ui:ListView focusable="true" name="spacewarp-mod-list" /> |
| 23 | + <ui:Foldout class="mods-foldout" name="spacewarp-mod-foldout" text="SPACEWARP MODS" style="display: none;"> |
| 24 | + <ui:VisualElement name="spacewarp-mod-list" /> |
25 | 25 | </ui:Foldout> |
26 | | - <ui:Foldout class="mods-foldout" text="UNMANAGED MODS" value="true"> |
27 | | - <ui:ListView focusable="true" name="unmanaged-info-mod-list" /> |
28 | | - <ui:ListView focusable="true" name="unmanaged-mod-list" /> |
| 26 | + <ui:Foldout class="mods-foldout" name="other-mod-foldout" text="OTHER MODS" style="display: none;"> |
| 27 | + <ui:VisualElement name="other-info-mod-list" /> |
| 28 | + <ui:VisualElement name="other-mod-list" /> |
29 | 29 | </ui:Foldout> |
30 | | - <ui:Foldout class="mods-foldout" text="DISABLED MODS"> |
31 | | - <ui:ListView focusable="true" name="disabled-info-mod-list" /> |
32 | | - <ui:ListView focusable="true" name="disabled-mod-list" /> |
| 30 | + <ui:Foldout class="mods-foldout" name="disabled-mod-foldout" text="DISABLED MODS" style="display: none;"> |
| 31 | + <ui:VisualElement name="disabled-info-mod-list" /> |
| 32 | + <ui:VisualElement name="disabled-mod-list" /> |
33 | 33 | </ui:Foldout> |
34 | 34 | </ui:ScrollView> |
35 | | - <ui:ScrollView name="details-scrollview" scroll-deceleration-rate="0,135" elasticity="0,1" style=""> |
36 | | - <ui:VisualElement name="details-container"> |
| 35 | + <ui:ScrollView name="details-scrollview" scroll-deceleration-rate="0,135" elasticity="0,1"> |
| 36 | + <ui:VisualElement name="details-container" style="visibility: hidden;"> |
37 | 37 | <ui:Label name="details-name" text="SPACEWARP"/> |
38 | 38 | <ui:VisualElement class="details-item"> |
39 | 39 | <ui:Label class="details-label details-key-label" text="ID"/> |
|
66 | 66 | <ui:Label class="details-label details-value-label" name="details-ksp-version" text="0.1.0 - *"/> |
67 | 67 | </ui:VisualElement> |
68 | 68 | <ui:Foldout name="details-dependencies-foldout" text="Dependencies"> |
69 | | - <ui:ListView focusable="true" name="details-dependencies-list" /> |
70 | | - <ui:VisualElement class="details-item"> |
71 | | - <ui:Label class="details-label details-key-label" text="SpaceWarp"/> |
72 | | - <ui:Label class="details-label" text=":"/> |
73 | | - <ui:Label class="details-label details-value-label" text="0.4.0 - *"/> |
74 | | - </ui:VisualElement> |
75 | | - <ui:VisualElement class="details-item"> |
76 | | - <ui:Label class="details-label details-key-label" text="UITK for KSP 2"/> |
77 | | - <ui:Label class="details-label" text=":"/> |
78 | | - <ui:Label class="details-label details-value-label" text="0.2.0 - *"/> |
| 69 | + <ui:VisualElement name="details-dependencies-list"> |
| 70 | + <ui:VisualElement class="details-item"> |
| 71 | + <ui:Label class="details-label details-key-label" text="SpaceWarp"/> |
| 72 | + <ui:Label class="details-label" text=":"/> |
| 73 | + <ui:Label class="details-label details-value-label" text="0.4.0 - *"/> |
| 74 | + </ui:VisualElement> |
| 75 | + <ui:VisualElement class="details-item"> |
| 76 | + <ui:Label class="details-label details-key-label" text="UITK for KSP 2"/> |
| 77 | + <ui:Label class="details-label" text=":"/> |
| 78 | + <ui:Label class="details-label details-value-label" text="0.2.0 - *"/> |
| 79 | + </ui:VisualElement> |
79 | 80 | </ui:VisualElement> |
80 | 81 | </ui:Foldout> |
81 | 82 | </ui:VisualElement> |
|
0 commit comments