Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove double gaps in quest requirements #1282

Merged
merged 4 commits into from
Sep 24, 2023

Conversation

pajlada
Copy link
Contributor

@pajlada pajlada commented Sep 20, 2023

The panel is based on https://github.com/runelite/runelite/blob/754ea00/runelite-client/src/main/java/net/runelite/client/ui/DynamicGridLayout.java 2023-09-20
These gaps would show up if some requirements were hidden due to the relevant step already being completed.
This happens mostly for achievement diaries

Originally reported in Discord

What the old solution looked like with hidden requirements

image

With an exaggerated padding/gap:
with-runelites-old-dynamic-grid-layout-exaggerated

What it looks like with this PR

with-dynamic-padded-grid-layout

With an exaggerated padding:
with-dynamic-padded-grid-layout-exaggerated

@pajlada pajlada marked this pull request as draft September 20, 2023 19:34
@pajlada pajlada marked this pull request as ready for review September 20, 2023 19:42
Copy link
Owner

@Zoinkwiz Zoinkwiz left a comment

Choose a reason for hiding this comment

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

Looks good, thanks for this :D

@Zoinkwiz Zoinkwiz merged commit 19af25f into Zoinkwiz:master Sep 24, 2023
1 check passed
@pajlada pajlada deleted the fix/quest-requirement-panel-gaps branch September 26, 2023 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants