ServerGui view
This commit is contained in:
@@ -9,6 +9,6 @@
|
||||
<Insets bottom="20.0" left="20.0" right="20.0" top="20.0" />
|
||||
</padding>
|
||||
|
||||
<Label fx:id="IPAddress" />
|
||||
<Button text="Enable Server" />
|
||||
</VBox>
|
||||
<Label fx:id="IPAddress" styleClass="address" />
|
||||
<Button text="Start Server" onAction="#toggleServer" fx:id="toggleServerButton" styleClass="toggle-button"/>
|
||||
</VBox>
|
||||
@@ -7,4 +7,21 @@
|
||||
.address {
|
||||
-fx-text-fill: white;
|
||||
-fx-font-size: 25px;
|
||||
}
|
||||
|
||||
.toggle-button {
|
||||
-fx-background-color: darkblue;
|
||||
-fx-text-fill: white;
|
||||
-fx-font-size: 20px;
|
||||
-fx-padding: 10px;
|
||||
-fx-border-width: 2px;
|
||||
-fx-border-color: white;
|
||||
-fx-cursor: hand;
|
||||
-fx-border-radius: 5;
|
||||
}
|
||||
|
||||
.toggle-button:hover {
|
||||
-fx-background-color: white;
|
||||
-fx-text-fill: darkblue;
|
||||
transition: -fx-background-color 0.3s, -fx-text-fill 0.3s;
|
||||
}
|
||||
Reference in New Issue
Block a user