title: JavaFX TableColumn text wrapping
body: <p>I am experiencing an issue when resizing a TableView which contains text items that wrap around TableCell items. Upon resizing, hidden values are resized but the visible items do not re-calculate the text wrapping.</p>
  
  <p><img src="https://i.stack.imgur.com/XoJZL.png" alt="The issue."></p>
  
  <p>The tweets in the red box were hidden during the resize and had their text wrapping adjusted as expected. Tweets above the box were visible during the resize phase and still have the old wrapping.</p>
  
  <p>Below is my code for the resize phase.</p>
  
  <pre><code>fxSearchResultsTableTweet.setCellFactory(new Callback&lt;TableColumn&lt;Status, String&gt;, TableCell&lt;Status, String&gt;&gt;() {
          @Override
          public TableCell&lt;Status, String&gt; call(TableColumn&lt;Status, String&gt; arg0) {
              return new TableCell&lt;Status, String&gt;() {
                  private Text text;
  
                  @Override
                  public void updateItem(String item, boolean empty) {
                      super.updateItem(item, empty);
                      if (!isEmpty()) {
                          text = new Text(item.toString());
                          text.setWrappingWidth(fxSearchResultsTableTweet.getWidth());
                          this.setWrapText(true);
  
                          setGraphic(text);
                      }
                  }
              };
          }
      });
  }
  </code></pre>
  
  <p>Any help would be greatly appreciated.</p>