Skip to content

Commit

Permalink
Collapsible: focusRectSkin in default theme
Browse files Browse the repository at this point in the history
  • Loading branch information
joshtynjala committed Oct 28, 2024
1 parent 3388292 commit ab47127
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,13 @@ class SteelCollapsibleStyles {
icon.setViewForState(DISABLED(true), selectedDisabledIcon);
}

if (button.focusRectSkin == null) {
var focusRectSkin = new RectangleSkin();
focusRectSkin.fill = None;
focusRectSkin.border = theme.getFocusBorder();
button.focusRectSkin = focusRectSkin;
}

if (button.textFormat == null) {
button.textFormat = theme.getTextFormat();
}
Expand Down

0 comments on commit ab47127

Please sign in to comment.