Skip to content

Synchronize horizontal/vertical classes.#207

Merged
joshtynjala merged 3 commits into
feathersui:masterfrom
player-03:mirror-classes
May 12, 2026
Merged

Synchronize horizontal/vertical classes.#207
joshtynjala merged 3 commits into
feathersui:masterfrom
player-03:mirror-classes

Conversation

@player-03
Copy link
Copy Markdown
Contributor

Using a tool I wrote, I found several inconsistencies in the "Horizontal" and "Vertical" classes.

These range from meaningless (e.g., line order) to inaccurate documentation (e.g., a default being listed as 5.0 when it's null) to possible errors (e.g., adding adjustedGap instead of dividing by it).

@joshtynjala
Copy link
Copy Markdown
Member

Overall, these mostly seem like good changes. I'll need to test them a bit more thoroughly before I merge, though.

One place where I think you got something wrong is the layout of the tracks on VScrollBar and VSlider. The maximum value of VSlider is at the top. But the maximum value of VScrollBar is at the bottom. So their layout code should actually be a bit different.

@player-03
Copy link
Copy Markdown
Contributor Author

Ah right, I remember being confused by those another time too.

@joshtynjala joshtynjala merged commit 372a42a into feathersui:master May 12, 2026
19 checks passed
@joshtynjala
Copy link
Copy Markdown
Member

Thank you!

@player-03 player-03 deleted the mirror-classes branch May 12, 2026 17:19
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