feat: clean up BetterHUD settings menu#19
Open
dsnsgithub wants to merge 1 commit into
Open
Conversation
Reorganize the cloth-config UI for a less cluttered, more discoverable settings screen: - Group each module's options into 'Position' and 'Appearance' sub-categories instead of a flat list of seven controls. - Replace the freeform string dropdown for Orientation with a cycling Selector and human-friendly labels (Top Left, Top Right, ...). - Replace the unbounded Custom X / Custom Y integer fields with sliders that respect the existing 0-100 bounds and render as percentages. - Hide Anchor when Custom Position is on, and hide Custom X/Y when it is off, so only the relevant controls are interactive. - Add tooltips to every control explaining what it does. - Show the Enable toggle as a top-level Enabled/Disabled switch with a clearer 'Enable <Module>' label. Co-authored-by: Dominic Seung <dominic@seung.dev>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The BetterHUD config screen previously dumped all seven options for every module into one flat list, used a free-form text-search dropdown for the four-value
Orientationsetting, and exposedCustom X/Custom Yas unbounded integer text fields that were always interactive even whenCustom Positionwas off. This PR reworks the cloth-config UI into a cleaner, more discoverable layout.Changes
src/main/java/dsns/betterhud/ModMenu.javaPositionandAppearancesub-categories rather than a flat list of seven controls.Orientationwith a cycling Selector that uses friendly labels (Top Left,Top Right,Bottom Left,Bottom Right).Custom X/Custom Yinteger fields with sliders that respect the existing 0-100 bounds and render as percentages.Anchorselector whileCustom Positionis on, and hide theCustom X/Custom Ysliders while it is off, so only the relevant controls are interactive.Enable <Module>switch withEnabled/Disabledlabels viasetYesNoTextSupplier.No persisted setting names, types, or value formats changed, so existing
betterhud.propertiesfiles continue to load unmodified.Testing
Cursor Cloud Agent screenshot:

./gradlew compileJavabuilds cleanly.