diff options
author | Linnea Gräf <nea@nea.moe> | 2023-11-12 04:29:53 +0100 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2023-11-12 04:29:53 +0100 |
commit | f5515b455d607ddda5b215a8c4c1df9ff03e4117 (patch) | |
tree | 4e0db3f0ae019f63abc8d0c0feb91195d9b6d760 /src/main/resources/assets | |
parent | 15a20ef60a397e46021fdbcfc58a3f89214c500e (diff) | |
download | firmament-f5515b455d607ddda5b215a8c4c1df9ff03e4117.tar.gz firmament-f5515b455d607ddda5b215a8c4c1df9ff03e4117.tar.bz2 firmament-f5515b455d607ddda5b215a8c4c1df9ff03e4117.zip |
Add saving and loading to inventory button
Diffstat (limited to 'src/main/resources/assets')
-rw-r--r-- | src/main/resources/assets/firmament/gui/button_editor_fragment.xml | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/main/resources/assets/firmament/gui/button_editor_fragment.xml b/src/main/resources/assets/firmament/gui/button_editor_fragment.xml index 954401a..b450c41 100644 --- a/src/main/resources/assets/firmament/gui/button_editor_fragment.xml +++ b/src/main/resources/assets/firmament/gui/button_editor_fragment.xml @@ -3,13 +3,18 @@ xsi:schemaLocation="http://notenoughupdates.org/moulconfig https://raw.githubusercontent.com/NotEnoughUpdates/MoulConfig/master/MoulConfig.xsd"> <Panel> <Column> - <Text text="Icon"/> - <TextField value="@icon" width="180"/> - <Text text="Command"/> <Row> - <Text text="/"/> - <TextField value="@command" width="180"/> + <Text textAlign="CENTER" text="Icon"/> + <ItemStack value="@getItemIcon"/> </Row> + <TextField value="@icon" width="180"/> + <Text text="Command"/> + <Hover lines="Put the command in here.;The text box should not start with a /"> + <Row> + <Text text="/"/> + <TextField value="@command" width="180"/> + </Row> + </Hover> </Column> </Panel> </Root> |