Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 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.

2 participants