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

css: dots in border should appear as circles

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P3 P3
    • tbd
    • fx2.0
    • javafx
    • None
    • java6
      FX b40
      windows 7

      To reproduce run following code



      import javafx.application.Application;
      import javafx.scene.Parent;
      import javafx.scene.Scene;
      import javafx.scene.control.Button;
      import javafx.scene.layout.VBox;
      import javafx.stage.Stage;

      public class TitledPaned extends Application {

          public static void main(String[] args) {
              Application.launch( args);
          }

          private Parent getContent() {
              VBox list = new VBox(10);
              Button but=new Button("Button");
              but.setStyle("-fx-border-color: green;"
                      + "-fx-border-style: dotted;"
                      + "-fx-border-width: 6;");
              but.setFocusTraversable(false);
              list.getChildren().add(but);
              return list;
          }
          
          public void start(Stage stage) {
              stage.setX(100);
              stage.setY(100);
              stage.setWidth(300);
              stage.setHeight(300);
              Scene scene = new Scene(getContent());
              stage.setScene(scene);
              stage.setVisible(true);
          }
      }

            Unassigned Unassigned
            anazarov Andrey Nazarov (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Imported: