Repository navigation
Fixed session tab blocking resize below ~600px when docked as side panel - #35
Merged
Merged
Conversation
oleg68
force-pushed
the
bugfix/issue-19-min-size
branch
from
April 14, 2026 06:44
c32bf04 to
6788e83
Compare
southCard.getMinimumSize() was delegating to its visible child (promptPanel with a 3-row text area + buttons), which reported a tall minimum height. JSplitPane enforces the bottom component's minimum, so the divider bounced back when the user tried to shrink the tab below that height. Fix: override getMinimumSize() in southCard to always return (0, 0), letting JSplitPane collapse the bottom panel freely. getPreferredSize() is unchanged so the panel still requests its natural height when space allows. Resolves: nbplugins#19 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
oleg68
force-pushed
the
bugfix/issue-19-min-size
branch
from
April 14, 2026 18:38
6788e83 to
735de2d
Compare
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.
southCard.getMinimumSize() was delegating to its visible child (promptPanel with a 3-row text area + buttons), which reported a tall minimum height. JSplitPane enforces the bottom component's minimum, so the divider bounced back when the user tried to shrink the tab below that height.
Fix: override getMinimumSize() in southCard to always return (0, 0), letting JSplitPane collapse the bottom panel freely. getPreferredSize() is unchanged so the panel still requests its natural height when space allows.
Resolves: #19