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

Button size should not depend on vertical alignment type

XMLWordPrintable

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

      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

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

              Created:
              Updated:
              Resolved:
              Imported: