UI corrections

Save window size on close & restore on start.
This commit is contained in:
Dmitry Isaenko 2019-10-21 01:38:02 +03:00
parent 10d7cce148
commit 26bd85d744
3 changed files with 22 additions and 2 deletions

View file

@ -7,6 +7,7 @@
.button, .buttonUp, .buttonStop, .buttonSelect{
-fx-background-color: #fefefe;
-fx-background-insets: 0 0 0 0, 0, 1, 2;
-fx-border-color: #fefefe;
-fx-border-radius: 3;
-fx-border-width: 2;
@ -15,6 +16,7 @@
}
.button:hover, .buttonStop:hover, .buttonUp:hover, .choice-box:hover, .button:focused:hover, .buttonStop:focused:hover, .buttonUp:focused:hover, .buttonSelect:focused:hover, .choice-box:focused:hover{
-fx-background-color: #fefefe;
-fx-background-insets: 0 0 0 0, 0, 1, 2;
-fx-border-color: #00caca;
-fx-border-radius: 3;
-fx-border-width: 2;
@ -23,6 +25,7 @@
}
.button:focused, .buttonStop:focused, .buttonUp:focused, .buttonSelect:focused, .choice-box:focused{
-fx-background-color: #cccccc;
-fx-background-insets: 0 0 0 0, 0, 1, 2;
-fx-border-color: #cccccc;
-fx-border-radius: 3;
-fx-border-width: 2;
@ -32,6 +35,7 @@
.button:pressed, .button:pressed:hover{
-fx-background-color: #fefefe;
-fx-background-insets: 0 0 0 0, 0, 1, 2;
-fx-border-color: #e82382;
-fx-border-radius: 3;
-fx-border-width: 2;
@ -40,6 +44,7 @@
}
.buttonSelect:pressed, .buttonSelect:pressed:hover{
-fx-background-color: #fefefe;
-fx-background-insets: 0 0 0 0, 0, 1, 2;
-fx-border-color: #289de8;
-fx-border-radius: 3;
-fx-border-width: 2;
@ -48,6 +53,7 @@
}
.buttonUp:pressed, .buttonUp:pressed:hover{
-fx-background-color: #fefefe;
-fx-background-insets: 0 0 0 0, 0, 1, 2;
-fx-border-color: #71e016;
-fx-border-radius: 3;
-fx-border-width: 2;
@ -56,6 +62,7 @@
}
.buttonStop:pressed, .buttonStop:pressed:hover{
-fx-background-color: #fefefe;
-fx-background-insets: 0 0 0 0, 0, 1, 2;
-fx-border-color: #fb582c;
-fx-border-radius: 3;
-fx-border-width: 2;