aboutsummaryrefslogtreecommitdiff
path: root/loader/src/main/resources/assets
diff options
context:
space:
mode:
authorsyeyoung <cyoung06@naver.com>2023-02-07 15:25:44 +0900
committersyeyoung <cyoung06@naver.com>2023-02-07 15:25:44 +0900
commit399f681abc0bc738e01d659f2a6ae73e5fc64f71 (patch)
tree095f5a63c2a1fcfe47a3305f875c322182f884d4 /loader/src/main/resources/assets
parentd566771b9fdba45c56b272b28e5fc0dbf2508958 (diff)
downloadSkyblock-Dungeons-Guide-399f681abc0bc738e01d659f2a6ae73e5fc64f71.tar.gz
Skyblock-Dungeons-Guide-399f681abc0bc738e01d659f2a6ae73e5fc64f71.tar.bz2
Skyblock-Dungeons-Guide-399f681abc0bc738e01d659f2a6ae73e5fc64f71.zip
- loading and unloading
Signed-off-by: syeyoung <cyoung06@naver.com>
Diffstat (limited to 'loader/src/main/resources/assets')
-rw-r--r--loader/src/main/resources/assets/dungeons_guide_loader/gui/versions/versionInfo.gui31
1 files changed, 20 insertions, 11 deletions
diff --git a/loader/src/main/resources/assets/dungeons_guide_loader/gui/versions/versionInfo.gui b/loader/src/main/resources/assets/dungeons_guide_loader/gui/versions/versionInfo.gui
index cccbefde..0707899e 100644
--- a/loader/src/main/resources/assets/dungeons_guide_loader/gui/versions/versionInfo.gui
+++ b/loader/src/main/resources/assets/dungeons_guide_loader/gui/versions/versionInfo.gui
@@ -22,17 +22,26 @@
<UnconstrainedBox>
<bgcolor backgroundColor="#CC222222">
<padding right="3" bottom="3" top="3" left="3">
- <row mainAlign="END" crossAlign="CENTER">
- <Text text="Make this version default" color="#FFFFFFFF"/>
- <size width="5" height="0"/>
- <size width="40" height="15">
- <SimpleToggleButton bind:enabled="default"/>
- </size>
- <size width="5" height="0"/>
- <size width="40" height="15">
- <RoundButton text="Load" on:click="load"/>
- </size>
- </row>
+ <SelectiveContainer bind:visible="loadVisibility">
+ <slot slot="loadable">
+ <row mainAlign="END" crossAlign="CENTER">
+ <Text text="Make this version default" color="#FFFFFFFF"/>
+ <size width="5" height="0"/>
+ <size width="40" height="15">
+ <SimpleToggleButton bind:enabled="default"/>
+ </size>
+ <size width="5" height="0"/>
+ <size width="40" height="15">
+ <RoundButton text="Load" on:click="load"/>
+ </size>
+ </row>
+ </slot>
+ <slot slot="notloadable">
+ <ConstrainedBox maxWidth="200">
+ <Text bind:text="reason" color="#FFFFAAAA"/>
+ </ConstrainedBox>
+ </slot>
+ </SelectiveContainer>
</padding>
</bgcolor>
</UnconstrainedBox>