Closed Jpe230 closed 3 years ago
Thanks for the PR!
I didn't read all the way through yet because there are things I want to clarify first, that may require some refactoring on your end. Check out my comments on the code 😄
Also there is one thing I don't like, it's that it creates a coupling between Sidebar and TabFrame. What would you think of turning that associatedViewId (in SidebarItem) into a generic "user data" pointer? That way, Sidebar can still be used with something else than TabFrame.
Hope you like it 👍
Can you resolve the conflicts please?
Sorry for the delay! I will be closing this PR as I don't accept contributions for master anymore, and the issue has been independently fixed in the rework branch.
Adding more than 7 items to the sidebar results in the remaining items to be visually overflowed past the viewbox
This PR serves two functions: