mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2024-11-30 04:00:50 +01:00
round border fix
This commit is contained in:
parent
77dfd67b3d
commit
3d7b1fa7dd
@ -79,6 +79,7 @@ public class TitleBarController {
|
|||||||
controller.config = config;
|
controller.config = config;
|
||||||
stage.initStyle(StageStyle.TRANSPARENT);
|
stage.initStyle(StageStyle.TRANSPARENT);
|
||||||
stage.getScene().setFill(Color.TRANSPARENT);
|
stage.getScene().setFill(Color.TRANSPARENT);
|
||||||
|
stage.getScene().getRoot().getStyleClass().add("root-node");
|
||||||
|
|
||||||
stage.titleProperty().addListener((i) -> controller.setTitle(stage.getTitle()));
|
stage.titleProperty().addListener((i) -> controller.setTitle(stage.getTitle()));
|
||||||
controller.setTitle(stage.getTitle());
|
controller.setTitle(stage.getTitle());
|
||||||
|
@ -954,6 +954,10 @@ VBox > .split-menu-button.last > .arrow-button {
|
|||||||
-fx-background-radius: 0 0 10 10;
|
-fx-background-radius: 0 0 10 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.root-node {
|
||||||
|
-fx-background-radius: 0 0 10 10;
|
||||||
|
}
|
||||||
|
|
||||||
#icon {
|
#icon {
|
||||||
/*-fx-image: url("logoSmall.png");*/
|
/*-fx-image: url("logoSmall.png");*/
|
||||||
}
|
}
|
||||||
|
@ -996,6 +996,10 @@ VBox > .split-menu-button.last > .arrow-button {
|
|||||||
-fx-background-radius: 0 0 10 10;
|
-fx-background-radius: 0 0 10 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.root-node {
|
||||||
|
-fx-background-radius: 0 0 10 10;
|
||||||
|
}
|
||||||
|
|
||||||
#icon {
|
#icon {
|
||||||
/*-fx-image: url("logoSmall.png");*/
|
/*-fx-image: url("logoSmall.png");*/
|
||||||
}
|
}
|
||||||
|
@ -953,6 +953,10 @@ VBox > .split-menu-button.last > .arrow-button {
|
|||||||
-fx-background-radius: 0 0 10 10;
|
-fx-background-radius: 0 0 10 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.root-node {
|
||||||
|
-fx-background-radius: 0 0 10 10;
|
||||||
|
}
|
||||||
|
|
||||||
#icon {
|
#icon {
|
||||||
/*-fx-image: url("logoSmall.png");*/
|
/*-fx-image: url("logoSmall.png");*/
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user