Skip to content

Custom cleanup - #2605

Open
kevinthegreat1 wants to merge 4 commits into
SkyblockerMod:mainfrom
kevinthegreat1:custom-cleanup
Open

Custom cleanup#2605
kevinthegreat1 wants to merge 4 commits into
SkyblockerMod:mainfrom
kevinthegreat1:custom-cleanup

Conversation

@kevinthegreat1

Copy link
Copy Markdown
Collaborator

negative 10x developer

For the width stuff, the idea is that widgets have a set width initialized at init, and parent/layout widgets work with that, instead of the child widget having to deal with whoever being able to set its width to whatever they want.

@LifeIsAParadox LifeIsAParadox added the wip This PR is a work in progress label Jul 30, 2026
@AzureAaron AzureAaron added this to the 6.10.0 milestone Jul 30, 2026
@kevinthegreat1
kevinthegreat1 marked this pull request as ready for review July 31, 2026 02:16
@LifeIsAParadox LifeIsAParadox added reviews needed This PR needs reviews and removed wip This PR is a work in progress labels Jul 31, 2026
@kevinthegreat1

Copy link
Copy Markdown
Collaborator Author

Works fine, including resizing, I'll just merge soon if no one reviews.

@viciscat viciscat left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure why you removed the resizing code? (the doLayout method) it wasn't perfect that's for sure but 🤷
Also can you fix the bug where it crashes if the width of the screen is smaller than like 55 or something like that

@LifeIsAParadox LifeIsAParadox added changes requested This PR need changes and removed reviews needed This PR needs reviews labels Jul 31, 2026
@LifeIsAParadox LifeIsAParadox added reviews needed This PR needs reviews and removed changes requested This PR need changes labels Aug 1, 2026
# Conflicts:
#	src/main/java/de/hysky/skyblocker/utils/render/gui/SearchableGridWidget.java
@kevinthegreat1
kevinthegreat1 requested a review from viciscat August 1, 2026 04:22
@kevinthegreat1

Copy link
Copy Markdown
Collaborator Author

Does not center correctly on weird widths because the color selection widget doesn't go below a certain width. (I know, the color selection widget is not even visible.) I'm not fixing that in this pr.

Screenshot 2026-07-31 at 21 18 58 Screenshot 2026-07-31 at 21 18 48

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

reviews needed This PR needs reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants