//package bugs; import javafx.application.Application; import javafx.geometry.Insets; import javafx.scene.Scene; import javafx.scene.control.Label; import javafx.scene.layout.BorderPane; import javafx.scene.layout.Pane; import javafx.scene.layout.VBox; import javafx.stage.Stage; public class JDK8134270_LabelWrapTextTester extends Application { public static void main(String[] args) { launch(args); } @Override public void start(Stage primaryStage) { Label label = new Label("This is a long text which should be completely visible without any ellipsis even when insets are set."); label.setWrapText(true); Pane labelPane = new VBox(label); labelPane.setPrefWidth(254.0); Pane rootPane = new BorderPane(labelPane); rootPane.setPadding(new Insets(20.0)); primaryStage.setScene(new Scene(rootPane)); primaryStage.show(); } }