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

Incorrect baseline layout for Hyperlink and Region in HBox

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3
    • fx2.0
    • fx2.0
    • javafx
    • Product: javafx-2.0beta
      Platform: windows-i586
      Build-Number: 98
      Build-ID: 2011-07-05_17-08-42

    Description

      Run attached application. It is pretty simple:

              HBox hBox = new HBox();
              hBox.setAlignment(Pos.BASELINE_LEFT);
              hBox.getChildren().setAll(
                      new Hyperlink("Some link"),
                      new Region());

      When it is rendered for the first time, it is rendered in top left corner of scene. If you resize window or hover mouse over hyperlink, it jumps to bottom left corner.

      Attachments

        Issue Links

          Activity

            People

              amfowler Anne Fowler (Inactive)
              mrkam Alexander Kuznetcov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported: