I cannot find an answer about this anywhere on the internet.
I have an application that has to have collapsable panels, so the TitledPane and Accordion set-up in Java FX is a natural candidate.
In the application, I need to have custom headers for the container when it's collapsed. I see in the css document for the TitledPane that the header is really an HBox and a variety of other components.
http://docs.oracle.com/javafx/2/api/javafx/scene/doc-files/cssref.html#titledpane
I would like to access this component and replace it with a custom component.
I have been using the TitledPane api's setGraphic function and setContentDisplay to GraphicOnly. with a custom component. However, I cannot get it to render correctly. I've had issues with removing the arrow, and removing the space occupied by the arrow.
See the link below for screenshots of the desired look and how it actually looks.
How does one remove the arrow and remove the padding?