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

Positioning of a radio button dot relative to it's label

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 7u6
    • javafx
    • None

      Allow the the ContentDisplay property and -fx-content-display to modify the layout of a RadioButton.

      For example, the following should place the label radio underneath the radio button dot.
        new RadioButton("radio1").setContentDisplay(ContentDisplay.BOTTOM);
        new RadioButton("radio2").setStyle("-fx-content-display: bottom;");

      Attached is a sample program and sample program output which demonstrates that the ContentDisplay property currently doesn't have much of an effect on a RadioButton.

            kwwong Kinsley Wong (Inactive)
            josmithjfx John Smith (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: