Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Javadocs do not include css components #18

Open
jptinsman opened this issue Jan 6, 2015 · 0 comments
Open

Javadocs do not include css components #18

jptinsman opened this issue Jan 6, 2015 · 0 comments

Comments

@jptinsman
Copy link

When trying to style the components in JFXtras, it is a hit and miss since it seems the components have sub-components. Example is the BigDecimalField. To round the corners and add a drop-shadow I needed to have my css show the following. The class name was guess as was the sub-components; however, I still have a residual sharp corner on the buttons.

// Big Decimal Field
.big-decimal-field{
    -fx-effect: dropshadow(one-pass-box, grey, 10, .4, 2, 2);
    -fx-background-radius: 10 10 10 10;
}
.big-decimal-field .text-field {
    -fx-background-radius: 10 0 0 10;
}
.big-decimal-field .button {
    -fx-background-radius: 10 0 0 10;
}

On your next build, please have the JavaDocs updated to reflect the required css classes to modify your elements (example http://docs.oracle.com/javafx/2/api/javafx/scene/doc-files/cssref.html#textarea although they are missing the ..scroll-pane .viewport)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants