Skip to content

chore(settings): ensure plugin browser install button resizes correctly#2431

Open
hthienloc wants to merge 1 commit into
AvengeMedia:masterfrom
hthienloc:fix/plugin-browser-button-overflow
Open

chore(settings): ensure plugin browser install button resizes correctly#2431
hthienloc wants to merge 1 commit into
AvengeMedia:masterfrom
hthienloc:fix/plugin-browser-button-overflow

Conversation

@hthienloc
Copy link
Copy Markdown
Contributor

@hthienloc hthienloc commented May 16, 2026

Description

This PR fixes a minor visual bug in the Plugin Browser where the install button's width would not re-evaluate correctly after a plugin was installed, causing the 'Installed' text to overflow the button's boundaries.

Changes:

  • Disabled elide and wrapMode in the StyledText component within the install button to ensure accurate implicitWidth reporting.
  • Switched the button's width property to be bound via implicitWidth for better reactivity in QML.

Visual Comparison

Before
before
After
after

Fixed a visual bug where the install button would overflow its container after a plugin was installed. This was caused by the width not re-evaluating correctly and StyledText's default elide/wrap properties interfering with implicit width calculations.
@hthienloc hthienloc changed the title fix(settings): ensure plugin browser install button resizes correctly chore(settings): ensure plugin browser install button resizes correctly May 16, 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.

1 participant