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

Wrong TableView headers width when using TableView.CONSTRAINED_RESIZE_POLICY

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • tbd
    • 8
    • javafx
    • Windows 8 and Mac OS X 10.9

      In java 8 from b113 (earlier also) I found bug in TableView.
      When ColumnResizePolicy is setted to CONSTRAINED_RESIZE_POLICY and table have data that is not fit in available tableview's height (vertical scroll is visible) then headers have improper width - but only when TableView is not focused. When TableView get focus then headers are getting proper width.

      TableView before get focus:
      http://imageshack.us/a/img841/6853/j9u9.png

      TableView after:
      http://imageshack.us/a/img43/922/169f.png

      I have also created thread in Oracle forum that is explaining bug and you can get example app source code from this place: https://forums.oracle.com/message/11251219#11251219

            angorya Andy Goryachev
            duke J. Duke
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: