-
-
Notifications
You must be signed in to change notification settings - Fork 387
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 army split dialog text overflowing the dialog and add troops name #7956
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy
found issue(s) with the introduced code (1/1)
can someone please assist? |
Hi, @lioror just check the details of the check that failed and it will show you what needs to be removed with a - and what should be added with a +. Comparing these will help you figure out what is the problem with the code style. |
Hi @lioror , please fix code style issues. |
@ihhub done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @lioror, I left multiple comments in this pull request. Could you please take a look at them and also attach screenshots of this dialog after your changes in the first message of this PR aka PR's description?
Moreover, please correct the title of your pull request to reflect the changes you've done. Right now it is too generic and tells nothing what this PR is about.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @lioror , I put several comments here. Could you please take a look when you have time?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clang-Tidy
found issue(s) with the introduced code (1/1)
I suggest merging this after #8360 since having non uniform text alignment would be much better for this dialog. |
Hi, @lioror , @zenseii and @ihhub . English translation looks acceptable except the cases, when troops name is cut into two strings (I find it a little not pleasant visually, but still working for me). But I'm afraid for other translations there could be issues with the noun form (like Russian has) which is not supported by the engine yet. |
@Branikolog, I've made your requested change: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clang-Tidy
found issue(s) with the introduced code (1/1)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For me it looks and works well. 👍
@ihhub, when you have time and feel like it, this PR is ready for review. |
@lioror , thank you so much for your contribution to the project! |
Fixing this issue
Adding the units name in the army split dialog.
Adjust dialog height for multi line text, ex. translations.
Here is the new look:
2 lines: