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

TableView: option for disabling multiline text rendering in cell

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • 7u6
    • fx2.0
    • javafx

      When strings with newlines in them are rendered in a table cell, the newlines are graphically reproduced and the row is thus resized vertically. This is not always desirable.

      An obvious workaround is to strip the newlines from the string in the cell (value) factory. However, it would be nice with a simple utility function like this:

      myColumn.setMultiLineText(false)

            jgiles Jonathan Giles
            kvedaajfx Knut Arne Vedaa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: