Skip to content

tray: use available width for menu labels - #3456

Merged
bbedward merged 1 commit into
duxlabs-dev:masterfrom
domenkozar:fix/tray-menu-label-width
Sep 17, 2026
Merged

bbedward merged 1 commit into
duxlabs-dev:masterfrom
domenkozar:fix/tray-menu-label-width

Conversation

@domenkozar

@domenkozar domenkozar commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

Description

Tray menu labels could show an ellipsis while there was still unused space on the right. Their width subtracted a fixed 64 pixels, and the submenu arrow container occupied space even when its arrow was hidden.

Use a RowLayout so the label fills the space left by visible controls, and hide the entire arrow container for entries without submenus.

Validation: make lint-qml passes for all 3 entrypoints, make test-qml passes all 26 tests, and the reporter confirmed the fix in the running development shell.

AI disclosure: Codex generated the implementation and PR text; the reporter verified the visual result locally.

Before

Screenshot from 2026-09-16 15-16-45

After

Screenshot from 2026-09-16 16-27-43

Type of change

  • Bug fix (non-breaking change that fixes an issue)

Related issues

None.

Screenshots / video

No capture attached. The reporter confirmed the corrected label spacing in the development shell.

Checklist

  • My code follows the conventions in CONTRIBUTING.md
  • I have tested my changes locally
  • QML changes: ran make lint-qml with no new warnings
  • No new user-facing strings, Go changes, or new documented behaviors.

@bbedward
bbedward merged commit 1bf3542 into duxlabs-dev:master Sep 17, 2026
2 checks passed
bbedward pushed a commit that referenced this pull request Sep 17, 2026
@bbedward bbedward mentioned this pull request Oct 28, 2026
1 task done
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