-
Notifications
You must be signed in to change notification settings - Fork 178
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
Window panes not scrolling by page #2446
Comments
Oddly enough, the Lance Deployment pane on the Briefing Room tab DOES work correctly when clicking on the scroll bar, but when scrolling using a mouse wheel, it only moves a fraction of a line at a time. This is the only pane I've noticed that scrolls that slowly when using a mouse wheel. |
EDIT: Actually that appears to be a red herring. Most tables seem to work just fine. It appears to be the case when a JScrollPane envelops a JPanel. |
We did it to ourselves: mekhq/MekHQ/src/mekhq/gui/view/ScrollablePanel.java Lines 45 to 51 in 65555bd
|
…ock-increment-wrong Issue #2446: Calculate the scrollable block increment correctly
Environment
What version of MekHQ does your issue apply to? 0.47.17
What operating system are you using? Windows
What java version are you using? openjdk 11
Description
Some of the detail screens are able to scroll by page when you select the bar of the scroll bar (normal Windows behavior), but many of them only scroll one line at a time instead. This makes scrolling tedious when a mouse wheel is not available.
Here are the ones I have found so far that only scroll one line at a time:
TOE tab, Pilot and Unit detail tabs
Briefing Room tab, Mission list
Briefing Room tab, Scenario details
Interstellar Map tab, System details
Personnel tab, Personnel details
Hanger tab, Unit details
The text was updated successfully, but these errors were encountered: