Qt:在设计器中禁用布局镜像?
我的计算机中配置了希伯来语语言环境,由于某种原因,这使得 QT 设计器镜像其整个界面,从右到左对齐。
这太可怕了,让设计师对我来说毫无用处。
有没有办法在运行时使设计器不镜像其 GUI 元素?菜单项或环境变量或其他什么?
I have a hebrew locale configured in my computer and for some reason this makes QT designer mirror its entire interface to be aligned from right to left.
This is horrible and makes the designer useless for me.
Is there a way in run-time to make the designer not mirror its GUI elements? a menu item or an environment variable or something?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否尝试使用选项“-reverse”运行设计器,这可以解决您的问题。
如果语言环境是“法语”,并且我使用“-reverse”运行,所有布局都会从右到左对齐,所以如果语言环境是“希伯来语”,布局将变成从左到右。
Did you try to run designer with the option "-reverse", that could solve your problem.
If the locale is "french", and I run with "-reverse" all the layouts become right to left aligned, so maybe if the locale is "hebrew", the layouts will become left to right.