I'm working on simple UI for database information with JavaFX. When using TableView no horizontal scroll bar appear, but it is expected. In the past I have never faced such problem.
As you can see on the image sample C2 column is truncated.
My software versions:
Linux computer 4.18.0-0.bpo.1-amd64 #1 SMP Debian 4.18.6-1~bpo9+1 (2018-09-13) x86_64 GNU/Linux
java version "1.8.0_201"
Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)
Code:
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.TableColumn?>
<?import javafx.scene.control.TableView?>
<TableView maxHeight="-1.0" maxWidth="-1.0" tableMenuButtonVisible="true" xmlns="http://javafx.com/javafx/10.0.1" xmlns:fx="http://javafx.com/fxml/1">
<columns>
<TableColumn maxWidth="400" minWidth="300.0" prefWidth="-1.0" text="C1" />
<TableColumn maxWidth="400" minWidth="300.0" prefWidth="-1.0" text="C2" />
</columns>
</TableView>
