aboutsummaryrefslogtreecommitdiff
path: root/mod/src/main/resources
diff options
context:
space:
mode:
authorsyeyoung <cyoung06@naver.com>2023-01-25 16:44:51 +0900
committersyeyoung <cyoung06@naver.com>2023-01-25 16:44:51 +0900
commitd5229dd379372abd83edd1b3db3d1076481248e8 (patch)
tree1f397bca4b8fbaeeef298bfec598105488433d9e /mod/src/main/resources
parent16e09c87114564a192c3d0a3c7e77ec18a330a11 (diff)
downloadSkyblock-Dungeons-Guide-d5229dd379372abd83edd1b3db3d1076481248e8.tar.gz
Skyblock-Dungeons-Guide-d5229dd379372abd83edd1b3db3d1076481248e8.tar.bz2
Skyblock-Dungeons-Guide-d5229dd379372abd83edd1b3db3d1076481248e8.zip
- Follow user's scaled width and height
Signed-off-by: syeyoung <cyoung06@naver.com>
Diffstat (limited to 'mod/src/main/resources')
-rw-r--r--mod/src/main/resources/assets/dungeonsguide/gui/features/profileViewer/pv.gui96
1 files changed, 49 insertions, 47 deletions
diff --git a/mod/src/main/resources/assets/dungeonsguide/gui/features/profileViewer/pv.gui b/mod/src/main/resources/assets/dungeonsguide/gui/features/profileViewer/pv.gui
index 53050180..ee18aa31 100644
--- a/mod/src/main/resources/assets/dungeonsguide/gui/features/profileViewer/pv.gui
+++ b/mod/src/main/resources/assets/dungeonsguide/gui/features/profileViewer/pv.gui
@@ -17,52 +17,54 @@
-->
<scaler bind:scale="scale">
- <border>
- <line slot="left" dir="VERTICAL" thickness="1.0" color="#FF23272A"/>
- <line slot="top" dir="HORIZONTAL" thickness="1.0" color="#FF23272A"/>
- <line slot="bottom" dir="HORIZONTAL" thickness="1.0" color="#FF23272A"/>
- <line slot="right" dir="VERTICAL" thickness="1.0" color="#FF23272A"/>
- <bgcolor slot="content" backgroundColor="#FF2C2F33">
- <clip>
- <SelectiveContainer bind:visible="visible">
- <slot bind:child="actualPV" slot="pv"/>
- <slot slot="apiKeyInvalid">
- <col mainAlign="CENTER" crossAlign="CENTER">
- <Text text="API key is invalid or missing" color="#FFFFFFFF"/>
- <size width="50" height="27">
- <ColorButton on:click="refresh" hPadding="1"
- backgroundColor="#FF7289DA" textColor="#FFFFFFFF"
- hoveredBackgroundColor="#FF859DF0" hoveredTextColor="#FFFFFFFF"
- disabledBackgroundColor="0" disabledTextColor="0"
- pressedBackgroundColor="#FF859DF0" pressedTextColor="#FFFFFFFF"
- text="Refresh"
- />
- </size>
- </col>
- </slot>
- <slot slot="noPlayer">
- <col mainAlign="CENTER" crossAlign="CENTER">
- <Text text="An error occured while fetching profile" color="#FFFFFFFF"/>
- <Text text="Or maybe player does not exist?" color="#FFFFFFFF"/>
- <size width="50" height="27">
- <ColorButton on:click="refresh" hPadding="1"
- backgroundColor="#FF7289DA" textColor="#FFFFFFFF"
- hoveredBackgroundColor="#FF859DF0" hoveredTextColor="#FFFFFFFF"
- disabledBackgroundColor="0" disabledTextColor="0"
- pressedBackgroundColor="#FF859DF0" pressedTextColor="#FFFFFFFF"
- text="Refresh"
- />
- </size>
- </col>
- </slot>
- <slot slot="fetching">
- <align hAlign="CENTER" vAlign="CENTER">
- <Text text="Fetching..." color="#FFFFFFFF"/>
- </align>
- </slot>
- </SelectiveContainer>
+ <size width="220" height="220">
+ <border>
+ <line slot="left" dir="VERTICAL" thickness="1.0" color="#FF23272A"/>
+ <line slot="top" dir="HORIZONTAL" thickness="1.0" color="#FF23272A"/>
+ <line slot="bottom" dir="HORIZONTAL" thickness="1.0" color="#FF23272A"/>
+ <line slot="right" dir="VERTICAL" thickness="1.0" color="#FF23272A"/>
+ <bgcolor slot="content" backgroundColor="#FF2C2F33">
+ <clip>
+ <SelectiveContainer bind:visible="visible">
+ <slot bind:child="actualPV" slot="pv"/>
+ <slot slot="apiKeyInvalid">
+ <col mainAlign="CENTER" crossAlign="CENTER">
+ <Text text="API key is invalid or missing" color="#FFFFFFFF"/>
+ <size width="50" height="27">
+ <ColorButton on:click="refresh" hPadding="1"
+ backgroundColor="#FF7289DA" textColor="#FFFFFFFF"
+ hoveredBackgroundColor="#FF859DF0" hoveredTextColor="#FFFFFFFF"
+ disabledBackgroundColor="0" disabledTextColor="0"
+ pressedBackgroundColor="#FF859DF0" pressedTextColor="#FFFFFFFF"
+ text="Refresh"
+ />
+ </size>
+ </col>
+ </slot>
+ <slot slot="noPlayer">
+ <col mainAlign="CENTER" crossAlign="CENTER">
+ <Text text="An error occured while fetching profile" color="#FFFFFFFF"/>
+ <Text text="Or maybe player does not exist?" color="#FFFFFFFF"/>
+ <size width="50" height="27">
+ <ColorButton on:click="refresh" hPadding="1"
+ backgroundColor="#FF7289DA" textColor="#FFFFFFFF"
+ hoveredBackgroundColor="#FF859DF0" hoveredTextColor="#FFFFFFFF"
+ disabledBackgroundColor="0" disabledTextColor="0"
+ pressedBackgroundColor="#FF859DF0" pressedTextColor="#FFFFFFFF"
+ text="Refresh"
+ />
+ </size>
+ </col>
+ </slot>
+ <slot slot="fetching">
+ <align hAlign="CENTER" vAlign="CENTER">
+ <Text text="Fetching..." color="#FFFFFFFF"/>
+ </align>
+ </slot>
+ </SelectiveContainer>
- </clip>
- </bgcolor>
- </border>
+ </clip>
+ </bgcolor>
+ </border>
+ </size>
</scaler> \ No newline at end of file