changed layout

This commit is contained in:
Marc Beyer 2021-11-15 15:36:13 +01:00
parent 23be5a1b91
commit 6971a42b39
3 changed files with 28 additions and 14 deletions

View File

@ -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;
}

View File

@ -16,20 +16,16 @@
</rowConstraints>
<VBox alignment="TOP_CENTER" prefHeight="200.0" prefWidth="100.0" spacing="5.0" style="-fx-background-color: #333333;">
<ImageView fitHeight="50.0" fitWidth="50.0" pickOnBounds="true" preserveRatio="true">
</ImageView>
<Button mnemonicParsing="false" onAction="#onAddBtnClick" prefHeight="50" prefWidth="50" styleClass="main-btn" text="ADD">
</Button>
<Button mnemonicParsing="false" prefHeight="50" prefWidth="50" style="-fx-background-color: #424242;" textAlignment="CENTER" textFill="WHITE">
<Button onAction="#onAddBtnClick" styleClass="main-btn">
ADD
<cursor>
<Cursor fx:constant="HAND" />
</cursor>
</Button>
<Button mnemonicParsing="false" prefHeight="50" prefWidth="50" style="-fx-background-color: #424242;" textAlignment="CENTER" textFill="WHITE">
<Button onAction="#onAddBtnClick" styleClass="main-btn">
ADD
</Button>
<Button onAction="#onAddBtnClick" styleClass="main-btn">
ADD
<cursor>
<Cursor fx:constant="HAND" />
</cursor>
</Button>
</VBox>
<GridPane fx:id="calendarGrid" gridLinesVisible="true" GridPane.columnIndex="1">

View File

@ -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;
}