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

BASELINE alignment incompatible with fill-height resizing for HBox, FlowPane, GridPane

    XMLWordPrintable

    Details

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

      promotion b34

      Description

      - run application attached: there is TabPane,TitledPane and ScrollBar inside of HBox with setAlignment(Pos.BASELINE_CENTER);
      - try to move bar of ScrollBar

      observe: TitledPane and ScrollBar are moved down
      expected: moving of "bar" of ScrollBar should not affect layout

      (slightly other behavior without TitledPane: ScrollBar shifted down once after attempt to scroll it. this is a bug too).

        Attachments

        1. baseline1.png
          74 kB
          Victor Shubov
        2. mixedpane.png
          43 kB
          Victor Shubov
        3. ShortAppWithoutDependencies51111.java
          2 kB
          Victor Shubov
        4. ShortAppWithoutDependencies51111.java
          3 kB
          Victor Shubov

          Issue Links

            Activity

              People

              Assignee:
              amfowler Anne Fowler (Inactive)
              Reporter:
              vshubov Victor Shubov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: