Skip to content

redefined component selector UI#102

Merged
Koyandechirag merged 1 commit into
FOSSEE:masterfrom
krish-vj:master
Jul 13, 2026
Merged

redefined component selector UI#102
Koyandechirag merged 1 commit into
FOSSEE:masterfrom
krish-vj:master

Conversation

@krish-vj

Copy link
Copy Markdown
Contributor

PR: Refactor Component Selector & Add Collapsible Toggle
Summary
Refactors the Component Selector dock widget to use a clean programmatic layout, corrects canvas size constraints, and adds a collapse/expand toggle.

Key Changes
Collapse/Expand Toggle: Added an arrow bar (▶/◀) to collapse the panel to an icon-only strip (48px) or expand it to show full labels (240px).

Expanded (240px) Collapsed (48px)
Expanded State Collapsed State
Canvas Gap Fix: Changed the canvas (centralwidget) size policy in main.ui from Maximum to Expanding so it fills freed space immediately when the dock collapses. Layout Constraints: Fixed startup sizing by applying setFixedWidth after addDockWidget to bypass Qt's layout overrides.

@Koyandechirag Koyandechirag merged commit 1eda86f into FOSSEE:master Jul 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants