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 save button hardcoded width #769

Merged
merged 1 commit into from
Jan 6, 2022
Merged

Conversation

HoloWise
Copy link
Contributor

@HoloWise HoloWise commented Jan 6, 2022

Save button had fixed width to align with set of buttons above in English. This approach breaks the button for other locales since this set of buttons can change in width depending on length of translations which would cause buttons to misalign.

This change allows for MenuItem to fill entire width, margins were moved to button and adjusted to ensure it'll fit with surrounding buttons.

English before change
enPRE

German before change
dePRE

German after change
dePOST

@Yuki-Codes Yuki-Codes merged commit 4f1e6cf into imchillin:master Jan 6, 2022
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