Skip to content

Conversation

@kaustuvpokharel
Copy link
Contributor

Case:
MMInfoBox component as a hardcoded maximumLineCount = 2, while this is cause the text to hide for the workspace page which is using this MMInfoBox.

Fix:

  • Added an Api for now and for the future use, to let the lines for the description be configurable during the declaration of the component.
  • The default value is still 2, so it wouldn't break anything incase of no manual configuration, plus also doesn't break anything for existed MMInfoBoxes in the project.
Screenshot 2025-10-21 at 1 59 01 PM

@kaustuvpokharel kaustuvpokharel changed the title made the number of lines configurable for infoBox to configure it wit… Fix: MMInfoBox text elide hide fix Oct 21, 2025
Copy link
Contributor

@Withalion Withalion left a comment

Choose a reason for hiding this comment

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

I think it would be nice to also change it in gallery (MiscPage.qml), but besides that it looks good.

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.

Adjust size of "A tip from us" section in "Name your workspace" page to avoid text eliding

4 participants