[Bottom widget] Behavior Improvements#3858
Merged
Merged
Conversation
|
vin0401
approved these changes
Jul 10, 2026
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.



Fixes #3536
What
When a tab is detached into an empty bottom widget area, the bottom panel opened at a fixed height of
34px— exactly the tab-strip height — so the content area had zero height and the panel looked collapsed. The detached widget was easy to miss and the user had to manually drag the splitter up to use it.This changes the reset height applied when the first widget is added to a previously empty bottom panel from
34pxto300px, so the detached widget opens with a visible content area. The tabset keepsweight: 50, so the user can still drag the splitter to readjust the top/bottom proportions.Why
The
34pxvalue only ever showed the tab strip with no content, which is the behavior reported in #3536: the detached widget appears collapsed and is hard to notice or interact with.Notes
getHeight() === -8); panels that already contain widgets or have a user-set height are untouched.