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

Need for aTreeView that automatically computes its height

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • fx2.1
    • javafx

      I would like the TreeView to recompute automatically its height according to its displayed children.
      I am in a case where the TreeView is inside a TitledPane. I have a vertical ScrollBar attached to the TitlePane. This is the only scrollbar I want to use to scroll the tree content.
      Currently there is no way to have the TreeView to recompute its height. It does instead display a scrollbar allowing to scroll.

      I have attached a screen capture that shows that the UI is very crowded with the 2 scrollbars. Furthermore the piece of information exposed to the user is very small although we could take benefit of the parent scrollable content.

      The is not an urgent matter, this would be an RFE for FX 2.2.

            Unassigned Unassigned
            jfdenise Jean-Francois Denise (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Imported: