Skip to content

[Bottom widget] Behavior Improvements#3858

Merged
ValeriaMaltseva merged 2 commits into
2026.2from
3536-add-UI-impovement
Jul 10, 2026
Merged

[Bottom widget] Behavior Improvements#3858
ValeriaMaltseva merged 2 commits into
2026.2from
3536-add-UI-impovement

Conversation

@ValeriaMaltseva

Copy link
Copy Markdown
Contributor

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 34px to 300px, so the detached widget opens with a visible content area. The tabset keeps weight: 50, so the user can still drag the splitter to readjust the top/bottom proportions.

Why

The 34px value 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

  • The change is isolated to the empty→populated transition (guarded by getHeight() === -8); panels that already contain widgets or have a user-set height are untouched.
  • The outer layout model is not persisted, so there are no stored values to migrate.

@sonarqubecloud

sonarqubecloud Bot commented Jul 7, 2026

Copy link
Copy Markdown

@ValeriaMaltseva ValeriaMaltseva linked an issue Jul 8, 2026 that may be closed by this pull request
@ValeriaMaltseva ValeriaMaltseva assigned vin0401 and unassigned vin0401 Jul 9, 2026
@ValeriaMaltseva ValeriaMaltseva requested a review from vin0401 July 9, 2026 15:10
@ValeriaMaltseva ValeriaMaltseva merged commit 4b51074 into 2026.2 Jul 10, 2026
7 checks passed
@ValeriaMaltseva ValeriaMaltseva deleted the 3536-add-UI-impovement branch July 10, 2026 09:48
@ValeriaMaltseva ValeriaMaltseva added this to the 2026.2.1 milestone Jul 10, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bottom widget] Behavior Improvements

2 participants