You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But setting an elevation style as documented, by doing something like:
var card1 = new Card();
card1.getStyleClass().add(Styles.ELEVATED_1);
... is obviously nothing going to work from that -- the "container" (a VBox inside the Card) does not have the "elevated-1" style applied, the Card itself does. So the CSS would need to be:
There seems to be a bug with Card elevation CSS.
For example, the generated CSS (i.e., Card CSS in the JAR) is:
But setting an elevation style as documented, by doing something like:
... is obviously nothing going to work from that -- the "container" (a VBox inside the Card) does not have the "elevated-1" style applied, the Card itself does. So the CSS would need to be:
...for example. Am I missing something?
There is a global set of elevated-n styles, which are actually what get applied instead -- and probably why this has gone unnoticed, e.g.:
Same issue applies for "interactive".
The text was updated successfully, but these errors were encountered: