Skip to content

Conversation

GDamyanov
Copy link
Contributor

@GDamyanov GDamyanov commented Oct 15, 2025

Updates the SplitButton styling so the content of the left (text) button is left-aligned. The change ensures the start icon + label are anchored to the left edge of the text segment, while the arrow segment remains pinned to the right. This prevents long labels from appearing centered (or shifting the arrow), enables truncation with ellipsis, and improves visual consistency. The same behaviour is applied to the ui5-button when it is used as menu button.

FIXES: #12453

@ui5-webcomponents-bot
Copy link
Collaborator

ui5-webcomponents-bot commented Oct 15, 2025

@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview October 15, 2025 13:39 Inactive
@GDamyanov GDamyanov marked this pull request as ready for review October 15, 2025 13:42
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview October 15, 2025 13:49 Inactive
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview October 17, 2025 06:47 Inactive
@GDamyanov GDamyanov requested a review from hinzzx October 17, 2025 07:05
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview October 17, 2025 07:11 Inactive
Copy link
Contributor

@hinzzx hinzzx left a comment

Choose a reason for hiding this comment

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

Tested and working with:

ui5-button
ui5-split-button
ui5-ai-button

@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview October 20, 2025 13:49 Inactive
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview October 21, 2025 10:27 Inactive
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview October 21, 2025 14:31 Inactive
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview October 22, 2025 06:45 Inactive
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview October 22, 2025 13:47 Inactive
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.

[Menu/Split Button]: Text alignment and fixed width

3 participants