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

Pref Controller: avoid scrollbars in I/O tabs if Info tab exceeds page height #11756

Merged
merged 1 commit into from Jul 26, 2023

Conversation

ronso0
Copy link
Member

@ronso0 ronso0 commented Jul 23, 2023

Scroll only Info tab if required while I/O tabs still fit the page. Otherwise the I/O tabs expand equally and Add, Remove, Clear buttons are hidden.

(backported 2.4 fix, didn't check this locally yet)

…e height

Scroll only Info tab if required while I/O tabs still fit the page. Otherwise the I/O tabs
expand equally and Add, Remove, Clear buttons are hidden.
@daschuer
Copy link
Member

I have just tested it on top of the 2.3 branch, but I cannot spot the difference. I have probably not yet understand what the issue is. At least I see no regression.

@ronso0
Copy link
Member Author

ronso0 commented Jul 25, 2023

The Info tab correctly expands if the content doesn't fit the page.
Screenshot_2023-07-25_18-16-13
Though that forces the I/O tabs o expand as well (needlessly as the table can shrink) and buttons are hidden, see double scrollbars
Screenshot_2023-07-25_18-20-04

This PR fixes that: Info may expand, In/Out are fit:
Screenshot_2023-07-25_18-21-50

@daschuer
Copy link
Member

Strange, I cannot confirm the issue here on Ubuntu Focal. But since there is an evidence that it is fixed on your side and I do not see a regression, it should be save to merge.

Copy link
Member

@daschuer daschuer left a comment

Choose a reason for hiding this comment

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

LGTM

@daschuer daschuer merged commit 4b8b0fb into mixxxdj:2.3 Jul 26, 2023
8 checks passed
@ronso0 ronso0 deleted the controller-iotabs-fit branch July 26, 2023 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants