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

TableView has horizontal scrollbar visible with constrained resize policy after all items are removed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • 8u40
    • fx2.0
    • javafx
    • Windows 7 x64, JavaFX 2.0 b40

      Create a TableView with a constrained resize policy.
      Add items until a vertical scrollbar is shown.
      Clear all the items in the table.
      Re-add enough items to show another vertical scroll-bar.
      This time the columns will not be re-sized properly and a horizontal scroll-bar is also shown.

      I've attached a simple test that I used to reproduce this issue.

            jgiles Jonathan Giles
            jjensenjfx Joe Jensen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: