To switch the widget to a right-to-left representation, just enable a single property - 'rtl'. When this property is on, the widget itself is mirrored (the layout of its UI elements is reversed).