Skip to content

Commit 48d510a

Browse files
author
Martin Plieske
committed
made the alert show the whole content text
1 parent 62ed1b7 commit 48d510a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
import javafx.scene.control.TableView;
4040
import javafx.scene.control.cell.PropertyValueFactory;
4141
import javafx.scene.input.MouseButton;
42+
import javafx.scene.layout.Region;
4243
import javafx.scene.paint.Color;
4344

4445
public class AboutController {
@@ -153,6 +154,8 @@ private void showLicense(final Licenses license) {
153154
alert.setContentText(String.format(
154155
"We could not find the license file at \"%s\". Did you remove it?%nPlease redownload or visit \"%s\".",
155156
license.getPath(), license.getUrl()));
157+
158+
alert.getDialogPane().setMinHeight(Region.USE_PREF_SIZE);
156159

157160
alert.show();
158161
}

0 commit comments

Comments
 (0)