Skip to content

refactor(ImButton): Update implicit width calculation for better cont…#1473

Merged
tdewey-rpi merged 2 commits into
mainfrom
dev/tdewey/button-bounds
Jan 21, 2026
Merged

refactor(ImButton): Update implicit width calculation for better cont…#1473
tdewey-rpi merged 2 commits into
mainfrom
dev/tdewey/button-bounds

Conversation

@tdewey-rpi

Copy link
Copy Markdown
Collaborator

…ent fitting

  • Modified implicit width logic to ensure buttons fit their content while maintaining a minimum width for short labels.
  • Simplified font property assignment in contentItem for consistency across button components.

Fixes #1470

tdewey-rpi and others added 2 commits January 21, 2026 13:35
…ent fitting

- Modified implicit width logic to ensure buttons fit their content while maintaining a minimum width for short labels.
- Simplified font property assignment in contentItem for consistency across button components.
@tdewey-rpi

Copy link
Copy Markdown
Collaborator Author

Confirmed in local testing.

@tdewey-rpi tdewey-rpi merged commit 01e55e1 into main Jan 21, 2026
@tdewey-rpi tdewey-rpi deleted the dev/tdewey/button-bounds branch January 21, 2026 16:23
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.

[BUG]: [UI - 2.0.5] "I UNDERSTAND, ERASE AND WRITE" text overflows button boundry, difficult to read

1 participant