@Override void setOrientation (boolean create) { super.setOrientation (create); if (!create) { int flags = SWT.RIGHT_TO_LEFT | SWT.LEFT_TO_RIGHT; int orientation = style & flags; Control [] children = _getChildren (); for (int i=0; i<children.length; i++) { children[i].setOrientation (orientation); } if (((style & SWT.RIGHT_TO_LEFT) != 0) != ((style & SWT.MIRRORED) != 0)) { moveChildren (-1); } } }
@Override void setOrientation (boolean create) { super.setOrientation (create); if (!create) { int flags = SWT.RIGHT_TO_LEFT | SWT.LEFT_TO_RIGHT; int orientation = style & flags; Control [] children = _getChildren (); for (int i=0; i<children.length; i++) { children[i].setOrientation (orientation); } if (((style & SWT.RIGHT_TO_LEFT) != 0) != ((style & SWT.MIRRORED) != 0)) { moveChildren (-1); } } }
@Override void setOrientation (boolean create) { super.setOrientation (create); if (!create) { int flags = SWT.RIGHT_TO_LEFT | SWT.LEFT_TO_RIGHT; int orientation = style & flags; Control [] children = _getChildren (); for (int i=0; i<children.length; i++) { children[i].setOrientation (orientation); } if (((style & SWT.RIGHT_TO_LEFT) != 0) != ((style & SWT.MIRRORED) != 0)) { moveChildren (-1); } } }