Skip to content

fix: elide long selected ComboBox values#11337

Merged
ogoffart merged 1 commit intoslint-ui:masterfrom
amirHdev:fix-combobox-selected-elision
Apr 20, 2026
Merged

fix: elide long selected ComboBox values#11337
ogoffart merged 1 commit intoslint-ui:masterfrom
amirHdev:fix-combobox-selected-elision

Conversation

@amirHdev
Copy link
Copy Markdown
Contributor

Fix ComboBox rendering when the selected item text is longer than the available width
Fixes #11332.

Signed-off-by: Amirhossein Akhlaghpour <m9.akhlaghpoor@gmail.com>
@ogoffart ogoffart requested a review from michneaionuc April 13, 2026 08:23
Copy link
Copy Markdown
Contributor

@michneaionuc michneaionuc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks for fixing this.
Confirmed the selected ComboBox text now elides correctly (no overflow), and the change is applied consistently across styles.

@ogoffart ogoffart added the candidate-for-bugfix-release Label for PRs that would make sense to cherry-pick into a spontaneously created bug fix release bran label Apr 20, 2026
@ogoffart ogoffart merged commit 5595412 into slint-ui:master Apr 20, 2026
46 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

candidate-for-bugfix-release Label for PRs that would make sense to cherry-pick into a spontaneously created bug fix release bran

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ComboBox item which is too long causes widget overflow selected

3 participants