We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is how it should look like
See the ellipses in the case for System.setProperty("glass.win.uiScale", "1.5");
System.setProperty("glass.win.uiScale", "1.5");
The text was updated successfully, but these errors were encountered:
Code to reproduce
import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.control.Alert; import javafx.scene.control.Button; import javafx.scene.layout.BorderPane; import javafx.stage.Stage; public class TestDialog extends Application { public static void main(String[] args) { System.setProperty("glass.win.uiScale", "1.5"); launch(args); } @Override public void start(Stage primaryStage) { primaryStage.setTitle("DialogTest!"); Button btn = new Button(); btn.setText("Show Dialog"); btn.setOnAction(event -> { Alert dialog = new Alert(Alert.AlertType.CONFIRMATION); dialog.setTitle("MyTitle"); dialog.setHeaderText("MyHeader"); dialog.setContentText("myContent 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30"); // dialog.getDialogPane().setExpanded(true); // makes the 2nd text line appear but moves the buttons out of the scene dialog.showAndWait(); }); BorderPane bp = new BorderPane(); bp.setCenter(btn); primaryStage.setScene(new Scene(bp, 300, 250)); primaryStage.show(); } }
Sorry, something went wrong.
see https://bugs.openjdk.java.net/browse/JDK-8265267
No branches or pull requests
This is how it should look like
See the ellipses in the case for
System.setProperty("glass.win.uiScale", "1.5");
The text was updated successfully, but these errors were encountered: