From ca22615c0887d6e70558e20fdebfabfab8d129f4 Mon Sep 17 00:00:00 2001 From: Kusal Ekanayake Date: Thu, 25 May 2017 16:18:47 +1200 Subject: [PATCH] Add scroll bar to the side panel to cater for smaller screen. --- src/main/resources/css/master.css | 4 +- src/main/resources/views/RaceView.fxml | 94 ++++++++++++++------------ 2 files changed, 51 insertions(+), 47 deletions(-) diff --git a/src/main/resources/css/master.css b/src/main/resources/css/master.css index 42fc44c7..7620d831 100644 --- a/src/main/resources/css/master.css +++ b/src/main/resources/css/master.css @@ -168,7 +168,7 @@ Remove scroll bars .ui-table *.scroll-bar:vertical *.increment-arrow, .ui-table *.scroll-bar:vertical *.decrement-arrow { - -fx-background-color: null; + -fx-background-color: #0e6d6c; -fx-background-radius: 0; -fx-background-insets: 0; -fx-padding: 0; @@ -177,7 +177,7 @@ Remove scroll bars .ui-table *.scroll-bar:vertical *.increment-button, .ui-table *.scroll-bar:vertical *.decrement-button { - -fx-background-color: null; + -fx-background-color: #0e6d6c; -fx-background-radius: 0; -fx-background-insets: 0; -fx-padding: 0; diff --git a/src/main/resources/views/RaceView.fxml b/src/main/resources/views/RaceView.fxml index d777cece..9a6d7c1c 100644 --- a/src/main/resources/views/RaceView.fxml +++ b/src/main/resources/views/RaceView.fxml @@ -9,8 +9,8 @@ - - + + @@ -18,49 +18,53 @@ - - -