Skip to content

Commit

Permalink
experimenting SWT parameters (issue helge17#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
guiv42 committed Jul 28, 2023
1 parent 8120898 commit c884450
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -16,7 +16,7 @@ public class SWTCheckBox extends SWTControl<Button> implements UICheckBox {
private UIImage image;

public SWTCheckBox(SWTContainer<? extends Composite> parent) {
super(new Button(parent.getControl(), SWT.CHECK), parent);
super(new Button(parent.getControl(), SWT.CHECK | SWT.WRAP), parent);

this.selectionListener = new SWTSelectionListenerManager(this);
}
Expand Down
Expand Up @@ -16,7 +16,7 @@ public class SWTRadioButton extends SWTControl<Button> implements UIRadioButton
private UIImage image;

public SWTRadioButton(SWTContainer<? extends Composite> parent) {
super(new Button(parent.getControl(), SWT.RADIO), parent);
super(new Button(parent.getControl(), SWT.RADIO | SWT.WRAP), parent);

this.selectionListener = new SWTSelectionListenerManager(this);
}
Expand Down

0 comments on commit c884450

Please sign in to comment.