Skip to content

Conversation

yaira2
Copy link
Member

@yaira2 yaira2 commented Nov 29, 2020

  • Fixed an issue where the text in the properties dialog would get cut off in some languages.
  • Changed the "ok" button in the properties dialog to "apply"

Fixes #2410

…t off in some languages.

- Changed the "ok" button in the properties dialog to "apply"
@yaira2 yaira2 requested a review from lukeblevins November 29, 2020 18:07
@yaira2 yaira2 changed the title Fixed an issue where the text in the properties dialog would get cut off in some languages. Fixed an issue where the text in the properties dialog would get cut off in some languages Nov 29, 2020
@ghost ghost added the ready for review Pull requests that are ready for review label Nov 29, 2020
@d2dyno1
Copy link
Member

d2dyno1 commented Nov 30, 2020

"Apply" is inconsistent with Windows design guidelines

@yaira2
Copy link
Member Author

yaira2 commented Nov 30, 2020

"Apply" is inconsistent with Windows design guidlines

Do you have a link?

@d2dyno1
Copy link
Member

d2dyno1 commented Nov 30, 2020

@yaichenbaum #1838 (#1851)

@yaira2
Copy link
Member Author

yaira2 commented Nov 30, 2020

@yaichenbaum #1838 (#1851)

Do you have any links regarding the guidelines? The links you shared are regarding the order, not the text.

@d2dyno1
Copy link
Member

d2dyno1 commented Nov 30, 2020

https://docs.microsoft.com/en-us/windows/win32/uxguide/win-property-win#commit-buttons

OK buttons
For owner property windows, the OK button means apply the pending changes (made since the window was opened or the last Apply), and close the window

Apply buttons
For owner property sheets, the Apply button means apply the pending changes (made since the window was opened or the last Apply), but leave the window open

If we want to keep the Apply button, it must not close the window, it should only save the changes.

@yaira2
Copy link
Member Author

yaira2 commented Nov 30, 2020

https://docs.microsoft.com/en-us/windows/win32/uxguide/win-property-win#guidelines

OK buttons
For owner property windows, the OK button means apply the pending changes (made since the window was opened or the last Apply), and close the window

Apply buttons
For owner property sheets, the Apply button means apply the pending changes (made since the window was opened or the last Apply), but leave the window open

If we want to keep the Apply button, it must not close the window, it should only save the changes.

That's a good point, we should probably have all three buttons.

Copy link
Contributor

@lukeblevins lukeblevins left a comment

Choose a reason for hiding this comment

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

changes LGTM

@lukeblevins lukeblevins added ready to merge Pull requests that are approved and ready to merge and removed ready for review Pull requests that are ready for review labels Nov 30, 2020
@yaira2 yaira2 merged commit b9d9a02 into master Nov 30, 2020
@yaira2 yaira2 deleted the PropertiesDialog branch November 30, 2020 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready to merge Pull requests that are approved and ready to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make text in the properties dialog responsive

3 participants