When I run my GUI on different OS that has another default display language and works from right to left (opposite to English) the widgets change their position to the opposite side (I don't use grid I choose by my self their position with pos=(POS_X,POS_Y). Someone knows how to change it that the position won't be change if I change the display language of the OS?
Asked
Active
Viewed 48 times
1
-
1Have you tried setting a `wx.ALIGN_LEFT` style on the sizer or window? – Legorooj Feb 17 '20 at 07:19
-
1Use grids. They are found in all graphic libraries for some reason. And the grid layouts have a property called "LayoutDirection"... – Dan A.S. Feb 18 '20 at 15:45
-
I didn't used grip in all of the gui and I can't add it now @Dan A.S. I tried to add wx.ALIGN_LEFT to the frame's style and it didn't work. – Yuval Sharon Feb 19 '20 at 12:11
-
1The grids are the way to control the layouts and display direction. I don't think you must to reinvent the wheel. But if you want... good luck xD – Dan A.S. Feb 19 '20 at 15:22
-
Someone maybe has another solution? – Yuval Sharon Feb 20 '20 at 19:35