Incorrect baseline layout for Hyperlink and Region in HBox

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P3
    • fx2.0
    • Affects 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

      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.

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

              Created:
              Updated:
              Resolved:
              Imported: