From d51e3979ffe4b3926bd10f3a53de10e55a0df3e9 Mon Sep 17 00:00:00 2001 From: Sebastian Stenzel Date: Wed, 17 Jul 2019 10:54:40 +0200 Subject: [PATCH] Added SplitPane css [ci skip] --- main/ui/src/main/resources/css/theme.css | 14 ++++++++++++++ main/ui/src/main/resources/fxml/main_window.fxml | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/main/ui/src/main/resources/css/theme.css b/main/ui/src/main/resources/css/theme.css index 81e90cd66..ed15487c5 100644 --- a/main/ui/src/main/resources/css/theme.css +++ b/main/ui/src/main/resources/css/theme.css @@ -22,6 +22,20 @@ -fx-background-color: PRIMARY_BG; } +/******************************************************************************* + * * + * SplitPane * + * * + ******************************************************************************/ + +.split-pane > .split-pane-divider { + -fx-padding: 0 2; +} + +.split-pane:horizontal > .split-pane-divider { + -fx-background-color: CONTROL_BORDER, WHITE; + -fx-background-insets: 0, 0 1; +} /******************************************************************************* * * diff --git a/main/ui/src/main/resources/fxml/main_window.fxml b/main/ui/src/main/resources/fxml/main_window.fxml index 45bd350dd..8a7e979b1 100644 --- a/main/ui/src/main/resources/fxml/main_window.fxml +++ b/main/ui/src/main/resources/fxml/main_window.fxml @@ -34,7 +34,7 @@ - +