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

Slider setPrefWidth(..) method does not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • fx2.0
    • fx2.0
    • javafx
    • None
    • Windows XP, 7 and Vista using b41.

      The slider setPrefWidth(...) method does not work and the width of the slider is determined by how it is laid out. Also, if you set the width of the slider using setPrefWidth(...), the getWidth(...) method will still return the size of the overall layout it belongs to and not the value that was set in the setPrefWidth(...).

      I've noticed this from the current build which is b41 to a few builds past.

            psomashe Parvathi Somashekar (Inactive)
            sjchan Steven Chan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: