Closed robbiezl closed 1 year ago
No, it can't be transparent, because radio button uses bg insets to draw its borders. So, it's basically the white circle above the gray circle, you can't make the top layer transparent. It would be possible if it used the border stroke instead of bg insets.
I found some component's padding size is different compare with the modena.css,this may cause incomplete text display. for example, in modena css button's padding:
-fx-padding: 0.333333em 0.666667em 0.333333em 0.666667em; / 4 8 4 8 /
in cupertino-light button's padding:
-fx-padding: 6px 12px 6px 12px;****
I found radio-button has a backgournd color,I think it should have no background,it should be transparent
.radio-button { -fx-background-color: -color-bg-default; -fx-text-fill: -color-fg-default; -fx-label-padding: 2px 2px 0 6px; }