Skip to content

Commit aacd895

Browse files
committed
warning dialog height change so the whole message can be shown
1 parent c03e173 commit aacd895

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/de/doubleslash/keeptime/view/SettingsController.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ private void initialize() {
7575
(int) (hoverBackgroundColor.getValue().getBlue() * 255), 0.51));
7676
final Alert alert = new Alert(AlertType.WARNING);
7777
alert.setTitle("Warning!");
78+
alert.setHeight(400);
7879
alert.setHeaderText("color settings wrong!");
7980
alert.setContentText("The level of opacity on your hover background is to high for Linux.");
8081

@@ -86,6 +87,7 @@ private void initialize() {
8687
(int) (defaultBackgroundColor.getValue().getBlue() * 255), 0.51));
8788
final Alert alert = new Alert(AlertType.WARNING);
8889
alert.setTitle("Warning!");
90+
alert.setHeight(400);
8991
alert.setHeaderText("color settings wrong!");
9092
alert.setContentText("The level of opacity on your default background is to high for Linux.");
9193

0 commit comments

Comments
 (0)