Example #1
0
 void createWidget() {
   super.createWidget();
   text = "";
   if (OS.COMCTL32_MAJOR < 6) {
     if ((style & SWT.MIRRORED) != 0) {
       layout.setOrientation(SWT.RIGHT_TO_LEFT);
     }
     initAccessible();
   }
 }
Example #2
0
 @Override
 void setOrientation(boolean create) {
   super.setOrientation(create);
   layout.setOrientation(style & (SWT.LEFT_TO_RIGHT | SWT.RIGHT_TO_LEFT));
   if (!create) redraw(true);
 }