Skip to content

Allow blockSpacing to do what it suggests it does - #3

Open
Rubio9 wants to merge 1 commit into
wheelbarrel00:mainfrom
Rubio9:main
Open

Allow blockSpacing to do what it suggests it does#3
Rubio9 wants to merge 1 commit into
wheelbarrel00:mainfrom
Rubio9:main

Conversation

@Rubio9

@Rubio9 Rubio9 commented Aug 20, 2026

Copy link
Copy Markdown

Love the addon! Just found it recently and it's great!
I hope you accept user PRs to improve it. I notice the gap between objectives is massive, and reducing blockSpacing to 0 does not let it go below a too-large-for-my-liking floor. This fixes that.

The existing code reserved the height of the icon (iconW) for the height of an objective title, when this is usually much too much. This correctly calculates the height of a Row to be the max of the total text size or the height of the icon, which better fits how a Row is actually laid out.
Also shuffled around where SetWidth gets called to simplify the code and make it handle width changes more cleanly.

The existing code reserved the height of the icon (iconW) for the
height of an objective title, when this is usually much too much.
This correctly calculates the height of a Row to be the max of the
total text size or the height of the icon, which better fits how a
Row is actually laid out.
Also shuffled around where SetWidth gets called to simplify the code
and make it handle width changes more cleanly.
@wheelbarrel00

Copy link
Copy Markdown
Owner

Thanks for this.. My workload is massive right now, so I appreciate any help I can get. Feel free to tweak anything, or add a new feature that is within scope. PR's are def welcome.

I just pushed a huge bug fix, so next patch I will get this merged.

Thanks again!

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