From 6971a42b39ee006380c83b713f56250335a3dcbe Mon Sep 17 00:00:00 2001 From: Marc Beyer Date: Mon, 15 Nov 2021 15:36:13 +0100 Subject: [PATCH] changed layout --- .../app/build/resources/main/client/style.css | 11 +++++++++-- .../app/src/main/resources/client/main-view.fxml | 16 ++++++---------- hellofx/app/src/main/resources/client/style.css | 15 +++++++++++++-- 3 files changed, 28 insertions(+), 14 deletions(-) diff --git a/hellofx/app/build/resources/main/client/style.css b/hellofx/app/build/resources/main/client/style.css index 96588a7..c650c9f 100644 --- a/hellofx/app/build/resources/main/client/style.css +++ b/hellofx/app/build/resources/main/client/style.css @@ -1,6 +1,13 @@ +GridPane{ + -fx-background-color: #282C34; +} .main-btn{ - -fx-background-color: #424242; + -fx-background-color: #ffffff; -fx-text-fill: white; - -fx-border-radius: 50em; + -fx-background-radius: 5em; + -fx-min-width: 40px; + -fx-min-height: 40px; + -fx-max-width: 40px; + -fx-max-height: 40px; } \ No newline at end of file diff --git a/hellofx/app/src/main/resources/client/main-view.fxml b/hellofx/app/src/main/resources/client/main-view.fxml index f2fae1d..9cc359f 100644 --- a/hellofx/app/src/main/resources/client/main-view.fxml +++ b/hellofx/app/src/main/resources/client/main-view.fxml @@ -16,20 +16,16 @@ + - - - + diff --git a/hellofx/app/src/main/resources/client/style.css b/hellofx/app/src/main/resources/client/style.css index 96588a7..626bad8 100644 --- a/hellofx/app/src/main/resources/client/style.css +++ b/hellofx/app/src/main/resources/client/style.css @@ -1,6 +1,17 @@ +GridPane{ + -fx-background-color: #282C34; +} + +Label{ + -fx-text-fill: white; +} .main-btn{ - -fx-background-color: #424242; + -fx-background-color: #ffffff; -fx-text-fill: white; - -fx-border-radius: 50em; + -fx-background-radius: 5em; + -fx-min-width: 40px; + -fx-min-height: 40px; + -fx-max-width: 40px; + -fx-max-height: 40px; } \ No newline at end of file