2 Replies Latest reply: Oct 30, 2012 7:25 AM by dmv RSS

    SplitPane border

    dmv
      I want to remove the outline border from a SplitPane.

      I have searched through the API and the Caspian css but I cannot find anything.

      Can anyone help please?
        • 1. Re: SplitPane border
          935521
          Hi,

          you can define a style.css such as
          .chart {
              -fx-padding: 1px;
          }
          .chart-content {
              -fx-padding: 0px;
          }
          and add this file to the stylesheet of your app
          scene.getStylesheets().add(this.getClass().getResource("style.css").toExternalForm());
          • 2. Re: SplitPane border
            dmv
            Thank you. I tale it that you are not saying that .chart would apply to a Split-pane? I've styled the divider with using css - I'll try changing the padding and see what happens.