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

TextArea initial appearance is corrupted

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P3
    • 8
    • 8
    • javafx
    • jdk1.8.0b94

    Description

      import javafx.application.Application;
      import javafx.scene.Scene;
      import javafx.scene.control.Button;
      import javafx.scene.control.TextArea;
      import javafx.scene.layout.HBox;
      import javafx.scene.layout.Pane;
      import javafx.scene.layout.VBox;
      import javafx.stage.Stage;

      public class TextAreaSample extends Application {

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

          @Override
          public void start(Stage stage) throws Exception {
              Pane pane = new Pane();
              pane.setPrefSize(600, 600);
              pane.getChildren().add(new Button("Button"));

              HBox root = new HBox(3);
              root.getChildren().add(pane);
              root.getChildren().add(new VBox(new Button("Button"), new TextArea()));

              stage.setScene(new Scene(root, 800, 600));
              stage.show();
          }
      }

      Attachments

        1. rt-31156.diff
          4 kB
          Martin Sládeček
        2. TextArea.png
          15 kB
          Dmitry Zinkevich

        Issue Links

          Activity

            People

              jgiles Jonathan Giles
              dzinkevi Dmitry Zinkevich (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported: