Repository navigation
fix: Fixed an issue with the JSON text editors caused by them being in scroll panes - #655
Merged
angelozerr merged 1 commit intoDec 1, 2024
Conversation
…oll panes. Those components have their own scrolling, and the nested scrolling mechanisms were causing issues with keyboard navigation, e.g., page up/down, etc., and other features such a Find (Ctrl+F). Without the surrounding scroll panes, it was also important that they be added so that they fill their available space vertically.
Contributor
|
Please rename title of the issue with fix: |
This was referenced Nov 24, 2026
lagergren
added a commit
that referenced
this pull request
Nov 25, 2026
…e fonts and narrow widths, and scrolls when it doesn't fit The page of a language server which is not user-defined, in the LSP console and in the settings, named the language server in a TitledBorder. At a large IDE font its tabs could overlap the title, and in a narrow LSP console the title was clipped. Its tabs of fields didn't scroll, so a field that didn't fit could only be reached by making the whole window larger. The header is now a JBLabel above the tabs, in the font of the IDE, so it takes the height that font needs. It takes the width of the page and shortens the name with an ellipsis when the page is narrower than the name, with the whole name in its tooltip; its minimum width is 0, so the name doesn't keep the LSP console's splitter, which honours minimum sizes, from making the page narrower. The tabs of fields, Server and Debug, are now in a borderless scroll pane (ScrollPaneFactory), so they scroll when they don't fit. A tab whose content fills it, the Configuration and Installer tabs with their JSON editors and the Mappings tab with its tables, is not put in one: a JSON editor scrolls itself, and a scroll pane around it breaks its keyboard navigation (#655). Fixes #374 Fixes #324
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Those components have their own scrolling, and the nested scrolling mechanisms were causing issues with keyboard navigation, e.g., page up/down, etc., and other features such a Find (Ctrl+F). Without the surrounding scroll panes, it was also important that they be added so that they fill their available space vertically.