parent
64302d29ef
commit
44a9ae48fc
@ -0,0 +1,8 @@
|
||||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# Editor-based HTTP Client requests
|
||||
/httpRequests/
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
@ -0,0 +1,10 @@
|
||||
.round-red {
|
||||
-fx-background-color: linear-gradient(#ff5400, #EB9C0A);
|
||||
-fx-background-radius: 30;
|
||||
-fx-background-insets: 0;
|
||||
-fx-text-fill: white;
|
||||
}
|
||||
|
||||
.root{
|
||||
-fx-background-color: #3A3A41;
|
||||
}
|
@ -1,8 +1,23 @@
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.layout.GridPane?>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<GridPane fx:controller="sample.Controller"
|
||||
xmlns:fx="http://javafx.com/fxml" alignment="center" hgap="10" vgap="10">
|
||||
</GridPane>
|
||||
<?import javafx.geometry.*?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
|
||||
<StackPane stylesheets="/css/sample.css" prefWidth="400.0" xmlns="http://javafx.com/javafx/8" styleClass="root">
|
||||
<padding>
|
||||
<Insets bottom="20.0" left="20.0" right="20.0" top="20.0"/>
|
||||
</padding>
|
||||
<GridPane hgap="15.0" minHeight="350" vgap="15.0" StackPane.alignment="CENTER">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints hgrow="ALWAYS" halignment="CENTER"/>
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints minHeight="10.0" vgrow="NEVER"/>
|
||||
<RowConstraints minHeight="10.0" vgrow="NEVER"/>
|
||||
</rowConstraints>
|
||||
<Button styleClass="round-red" minWidth="-Infinity" text="Launch new game" GridPane.columnIndex="0" GridPane.rowIndex="0"/>
|
||||
<Button styleClass="round-red" minWidth="-Infinity" text="View best Score" GridPane.columnIndex="0" GridPane.rowIndex="1"/>
|
||||
|
||||
</GridPane>
|
||||
</StackPane>
|
Loading…
Reference in new issue