schön is German for beautiful

[ci skip]
This commit is contained in:
Sebastian Stenzel
2019-07-23 17:14:22 +02:00
parent 0eb19a287f
commit dd0e548353
2 changed files with 13 additions and 2 deletions

View File

@@ -48,6 +48,18 @@
-fx-fill: CONTROL_BG_ARMED;
}
.main-window .resizer {
-fx-background-color: linear-gradient(to bottom right,
GRAY_LIGHT_BG 40%,
CONTROL_BORDER_NORMAL 50%,
GRAY_LIGHT_BG 60%,
CONTROL_BORDER_NORMAL 70%,
GRAY_LIGHT_BG 80%,
CONTROL_BORDER_NORMAL 90%
);
-fx-cursor: nw_resize;
}
/*******************************************************************************
* *
* SplitPane *

View File

@@ -44,7 +44,6 @@
<fx:include source="/fxml/vault_list.fxml" SplitPane.resizableWithParent="false"/>
<fx:include source="/fxml/vault_detail.fxml" SplitPane.resizableWithParent="true"/>
</SplitPane>
<!-- TODO: move style to css file and make this pretty: -->
<Region StackPane.alignment="BOTTOM_RIGHT" fx:id="resizer" prefWidth="10" prefHeight="10" maxWidth="-Infinity" maxHeight="-Infinity" style="-fx-background-color: red; -fx-cursor: nw_resize;"/>
<Region styleClass="resizer" StackPane.alignment="BOTTOM_RIGHT" fx:id="resizer" prefWidth="10" prefHeight="10" maxWidth="-Infinity" maxHeight="-Infinity"/>
</StackPane>
</VBox>