Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

Fix text centering for multi-line buttons including breaking long words. #746

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kriskazmar
Copy link

The modification at lines 794 thru 824 fixes the issue of centering the text for the 2nd line of a button that has 2 lines of text. The modification at lines 595 thru 607 fixes the issue of breaking and centering a long word to fit on a 2 line button. This happens commonly with Japanese character strings, where the string contains no spaces.

The modification at lines 794 thru 824 fixes the issue of centering the text for the 2nd line of a button that has 2 lines of text.  The modification at lines 595 thru 607 fixes the issue of breaking and centering a long word to fit on a 2 line button.  This happens commonly with Japanese character strings, where the string contains no spaces.
@kriskazmar
Copy link
Author

@dotnet-policy-service agree company="Technotects, Inc."

@madewokherd
Copy link
Collaborator

Hey, would you be willing to send this to https://gitlab.winehq.org/mono/libgdiplus ?

@madewokherd
Copy link
Collaborator

Forwarded to https://gitlab.winehq.org/mono/libgdiplus/-/merge_requests/3 and merged there.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants