mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
Allow keyboard focus to land on checkboxes and radio buttons.
This commit is contained in:
@@ -17,7 +17,6 @@ public class FCheckBox extends SkinnedCheckBox implements ICheckBox {
|
|||||||
this.setForeground(FSkin.getColor(FSkin.Colors.CLR_TEXT));
|
this.setForeground(FSkin.getColor(FSkin.Colors.CLR_TEXT));
|
||||||
this.setFont(FSkin.getFont(14));
|
this.setFont(FSkin.getFont(14));
|
||||||
this.setOpaque(false);
|
this.setOpaque(false);
|
||||||
this.setFocusable(false);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public FCheckBox(final String s0, final boolean checked) {
|
public FCheckBox(final String s0, final boolean checked) {
|
||||||
|
|||||||
@@ -26,6 +26,5 @@ public class FRadioButton extends SkinnedRadioButton {
|
|||||||
this.setForeground(FSkin.getColor(FSkin.Colors.CLR_TEXT));
|
this.setForeground(FSkin.getColor(FSkin.Colors.CLR_TEXT));
|
||||||
this.setFont(FSkin.getFont(14));
|
this.setFont(FSkin.getFont(14));
|
||||||
this.setOpaque(false);
|
this.setOpaque(false);
|
||||||
this.setFocusable(false);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user