Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Transparent edges on buttons? JavaFX (CSS)

bf9ab602-b251-4c35-9a2e-898e8037540eJan 14 2016 — edited Jan 14 2016

I would appreciate if someone could share how to get rid of the button edges, or atleast make them transparent in .css (using JavaFX). Im trying to re-create the Windows 10 calculator

This following code does not work

.button{

  -fx-background-radius: 0;

  -fx-border-color: transparent;

}


Thanks!

This post has been answered by jsmith on Jan 14 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 11 2016
Added on Jan 14 2016
2 comments
2,806 views