Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8125416

CSS : shadow not visible on ProgressBar, TItledPane,TabPane

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 8
    • 8
    • javafx
    • jdk1.8b58

    Description


          @Override
          public void start(Stage stage) throws Exception {
              BorderPane root = new BorderPane();
              String style ="-fx-effect:dropshadow( one-pass-box , green , 10 , 0.5 , 10 , 15);";
              Button btn = new Button();
              btn.setStyle(style);
              ProgressBar bar = new ProgressBar();
              bar.setStyle(style);
              TitledPane pane = new TitledPane();
              pane.setStyle(style);
              TabPane tab = new TabPane();
              tab.setStyle(style);
              
              
              root.setCenter(VBoxBuilder.create().spacing(20).children(btn, bar, pane, tab).build());
              
              Scene scene = new Scene(root, 400, 400);
              stage.setScene(scene);
              stage.show();
              stage.setTitle(VersionInfo.getRuntimeVersion());
          }
          

      Attachments

        1. rt25375.patch
          2 kB
        2. shadow-2.2.png
          shadow-2.2.png
          17 kB
        3. shadow-8.png
          shadow-8.png
          17 kB

        Issue Links

          Activity

            People

              jgiles Jonathan Giles
              slugovoy Sergey Lugovoy (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported: