-
-
Notifications
You must be signed in to change notification settings - Fork 188
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
Support right-to-left layout on Windows #762
Conversation
Let's make this platform-specific method if this is only for Windows. |
It should be possible to implement on Linux and macOS at least. I'll need macOS support in my app in the future so I might add that too then (currently don't have the time to investigate it and want to get Windows support merged as soon as possible). Will make it a platform-specific method and add a .changes file. |
Oh looks like you didn't sign your commits and I can't merge the PR unless they are signed. You need to setup commit signing, then you can sign past commit like this for example. Seems like you also need to run |
Actually signed off the first commit and then forgot to sign the rest. Should be fine now I guess. |
What kind of change does this PR introduce?
This PR adds support for setting right-to-left layout on Windows using the WS_EX_LAYOUTRTL extended style and others. My main use for this is to make menus appear to the right in an Arabic app. I plan to add support for this to Tauri.
Does this PR introduce a breaking change?
Checklist
Other information