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

Incorrect baseline layout for Hyperlink and Region in HBox

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: fx2.0
    • Fix Version/s: fx2.0
    • Component/s: javafx
    • Environment:

      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

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported: