Slider setPrefWidth(..) method does not work

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: P3
    • fx2.0
    • Affects Version/s: fx2.0
    • Component/s: javafx
    • None
    • Environment:

      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.

        1. slider-small.png
          31 kB
          Parvathi Somashekar

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

              Created:
              Updated:
              Resolved:
              Imported: