I agree that we should be able to set directionality on per-layout basis. I even implemented it as a member of Area. However, I think that the default when using an RTL locale should be right to left, for all widgets, and not just specific HLayouts.
In the example you described, you could show the detailed widgets like this (in LTR):
[ combobox ↓ | button | [x] checkbox ]
Then, I expect the RTL rendering to be like this:
[ checkbox [x] | button | ↓ combobox ]
The internal layout of comboboxes and checkboxes should also be mirrored.
Jay,
I agree that we should be able to set directionality on per-layout basis. I even implemented it as a member of Area. However, I think that the default when using an RTL locale should be right to left, for all widgets, and not just specific HLayouts.
In the example you described, you could show the detailed widgets like this (in LTR):
[ combobox ↓ | button | [x] checkbox ]
Then, I expect the RTL rendering to be like this:
[ checkbox [x] | button | ↓ combobox ]
The internal layout of comboboxes and checkboxes should also be mirrored.
Please compare how GTK looks in LTR and RTL in the following two screenshots of the widget factory: i44.tinypic. com/2lks0e8. jpg i43.tinypic. com/25ri0ds. png
http://
http://
Haggai