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

Checkboxes with null text don't work with baseline alignment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • 8u20
    • 8
    • javafx
    • Windows 7 64-bit
      Java Version: 1.8.0-ea-b119
      JavaFX Version: 8.0.0-ea-b119

      I have a Label and a Checkbox on the same "line".. (in a row of a GridPane, with wrapping HBoxes and VBoxes around the checkbox.. the baseline offset should be propagated from the control) they are configured to be aligned to the baseline, but it isn't working. The checkbox intentionally has null text, as the label is sufficient.

      I think the checkbox should align as if text were present. It does so in JavaFX 2.2.

            msladecek Martin Sládeček
            swpalmer Scott Palmer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: