From 30e0afb86c48a8e09cf0e2991328c4789c4835cd Mon Sep 17 00:00:00 2001 From: Marc Beyer Date: Mon, 31 Jan 2022 21:51:45 +0100 Subject: [PATCH] Fixed Time and Datepicker --- .../src/main/resources/main/create-event.css | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/client/app/src/main/resources/main/create-event.css b/client/app/src/main/resources/main/create-event.css index be03557..85eff94 100644 --- a/client/app/src/main/resources/main/create-event.css +++ b/client/app/src/main/resources/main/create-event.css @@ -61,4 +61,19 @@ JFXButton{ .timePicker{ -fx-background-color: white; -} \ No newline at end of file +} + +.jfx-time-picker .date-picker-popup{ + -fx-max-width: 230px; + -fx-min-width: 230px; +} + +.jfx-time-picker .date-picker-popup > * > .spinner > .label { + -fx-max-width: 55px; + -fx-min-width: 55px; +} + +.jfx-date-picker .date-picker-popup > * > .spinner > .label { + -fx-max-width: 300px; + -fx-min-width: 300px; + } \ No newline at end of file