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

TableView column resize problem

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 8
    • 8
    • javafx
    • Ubuntu 13.04, OS X

      since b99 resizing of columns using the mouse on the column separators of the table header does not work smoothly anymore. The mouse
      even looses hold of the resize handle. With b97 this worked fine.

      This can be reproduced even without any items in the table:

      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

      public class TableViewDemo extends Application {

      public static void main(String[] args) {
      launch(args);
      }

      @Override
      public void start(final Stage stage) throws Exception {
      stage.setTitle("TableView Demo");

      final StackPane pane = new StackPane();

      final TableView<Person> tableView = new TableView<>();
      final TableColumn<Person, String> columnA = new TableColumn<>("A");
      final TableColumn<Person, String> columnB = new TableColumn<>("B");
      tableView.getColumns().addAll(columnA, columnB);
      pane.getChildren().addAll(tableView);

      Scene scene = new Scene(pane, 300, 500, Color.DODGERBLUE);
      stage.setScene(scene);
      stage.show();
      }

      }

      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

            msladecek Martin Sládeček
            sehrkejfx Sven Ehrke (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: