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

Button size should not depend on vertical alignment type

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not an Issue
    • P3
    • fx2.0
    • fx2.0
    • javafx
    • promotion build 40

    Description

      run attached application twice:
      with line 28: h.setAlignment(Pos.TOP_CENTER);
      and with h.setAlignment(Pos.BASELINE_CENTER);

      see screenshots:
       - with TOP_CENTER, button's height is resized up to the height of hbox container.
      - with BASELINE_CENTER, button's height is resized to some resonable default value.

      expected: behavior should not depends on vertical alignment type

      Attachments

        1. align11.png
          17 kB
          Victor Shubov
        2. align12.png
          16 kB
          Victor Shubov
        3. ShortAppWithoutDependencies5111.java
          1 kB
          Victor Shubov

        Activity

          People

            kwwong Kinsley Wong (Inactive)
            vshubov Victor Shubov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: