diff options
author | hannibal2 <24389977+hannibal002@users.noreply.github.com> | 2024-04-15 18:53:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-15 18:53:53 +0200 |
commit | c78914d5e8bfca12eef8f6c9ff976aed26269345 (patch) | |
tree | 7aa494224edff67087b01570e866a817418e0caf /src/main/java/at/hannibal2/skyhanni/config | |
parent | 53f2cfd71a6e97fe59e2ced18045e8eed0434f4e (diff) | |
download | skyhanni-c78914d5e8bfca12eef8f6c9ff976aed26269345.tar.gz skyhanni-c78914d5e8bfca12eef8f6c9ff976aed26269345.tar.bz2 skyhanni-c78914d5e8bfca12eef8f6c9ff976aed26269345.zip |
Improvement: Sack Display Update (#1381)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Co-authored-by: Cal <cwolfson58@gmail.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/inventory/SackDisplayConfig.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/inventory/SackDisplayConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/inventory/SackDisplayConfig.java index 64f2226a8..5fc8268dd 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/inventory/SackDisplayConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/inventory/SackDisplayConfig.java @@ -3,6 +3,7 @@ package at.hannibal2.skyhanni.config.features.inventory; import at.hannibal2.skyhanni.config.FeatureToggle; import at.hannibal2.skyhanni.config.HasLegacyId; import at.hannibal2.skyhanni.config.core.config.Position; +import at.hannibal2.skyhanni.utils.RenderUtils; import com.google.gson.annotations.Expose; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorDropdown; @@ -35,6 +36,11 @@ public class SackDisplayConfig { @ConfigEditorDropdown public NumberFormatEntry numberFormat = NumberFormatEntry.FORMATTED; + @Expose + @ConfigOption(name = "Alignment", desc = "Channge the alignment for numbers and money.") + @ConfigEditorDropdown + public RenderUtils.HorizontalAlignment alignment = RenderUtils.HorizontalAlignment.LEFT; + public enum NumberFormatEntry implements HasLegacyId { DEFAULT("Default", 0), FORMATTED("Formatted", 1), |