fx:root
This commit is contained in:
parent
bc8bb95de6
commit
4e921349e5
3 changed files with 18 additions and 14 deletions
|
@ -2,3 +2,17 @@ The Earthsea Cycle
|
|||
The Chronicles of Narnia
|
||||
The Mistborn Series
|
||||
The Earthsea Cycle
|
||||
The Kingkiller Chronicle
|
||||
The Kingkiller Chronicle
|
||||
The Kingkiller Chronicle
|
||||
The Kingkiller Chronicle
|
||||
The Kingkiller Chronicle
|
||||
The Kingkiller Chronicle
|
||||
The Kingkiller Chronicle
|
||||
The Kingkiller Chronicle
|
||||
The Kingkiller Chronicle
|
||||
The Kingkiller Chronicle
|
||||
The Kingkiller Chronicle
|
||||
The Kingkiller Chronicle
|
||||
The Kingkiller Chronicle
|
||||
The Kingkiller Chronicle
|
||||
|
|
|
@ -13,17 +13,12 @@
|
|||
<?import javafx.scene.layout.RowConstraints?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
|
||||
<fx:root maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="800.0" prefWidth="1200.0" type="BorderPane" xmlns="http://javafx.com/javafx/23.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.example.CartController">
|
||||
<BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="800.0" prefWidth="1200.0" xmlns="http://javafx.com/javafx/23.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.example.CartController">
|
||||
<top>
|
||||
<HBox fx:id="header" alignment="CENTER" prefHeight="60.0" prefWidth="631.0" spacing="20.0" styleClass="header" BorderPane.alignment="CENTER">
|
||||
<children>
|
||||
<!-- Main Title -->
|
||||
<Label fx:id="mainTitle" styleClass="mainTitle" text="Bookshop - Fantasy Brigade" />
|
||||
|
||||
<!-- Spacer for alignment -->
|
||||
<Pane HBox.hgrow="ALWAYS" />
|
||||
|
||||
<!-- Buttons -->
|
||||
<Button fx:id="cartBtn" mnemonicParsing="false" styleClass="cartBtn" text="Cart" />
|
||||
<Button fx:id="loginBtn" mnemonicParsing="false" styleClass="loginBtn" text="Login" />
|
||||
</children>
|
||||
|
@ -97,4 +92,4 @@
|
|||
</children>
|
||||
</VBox>
|
||||
</bottom>
|
||||
</fx:root>
|
||||
</BorderPane>
|
||||
|
|
|
@ -13,17 +13,12 @@
|
|||
<?import javafx.scene.layout.RowConstraints?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
|
||||
<fx:root maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="800.0" prefWidth="1200.0" type="BorderPane" xmlns="http://javafx.com/javafx/23.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.example.CartController">
|
||||
<BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="800.0" prefWidth="1200.0" xmlns="http://javafx.com/javafx/23.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.example.CartController">
|
||||
<top>
|
||||
<HBox fx:id="header" alignment="CENTER" prefHeight="60.0" prefWidth="631.0" spacing="20.0" styleClass="header" BorderPane.alignment="CENTER">
|
||||
<children>
|
||||
<!-- Main Title -->
|
||||
<Label fx:id="mainTitle" styleClass="mainTitle" text="Bookshop - Fantasy Brigade" />
|
||||
|
||||
<!-- Spacer for alignment -->
|
||||
<Pane HBox.hgrow="ALWAYS" />
|
||||
|
||||
<!-- Buttons -->
|
||||
<Button fx:id="cartBtn" mnemonicParsing="false" styleClass="cartBtn" text="Cart" />
|
||||
<Button fx:id="loginBtn" mnemonicParsing="false" styleClass="loginBtn" text="Login" />
|
||||
</children>
|
||||
|
@ -97,4 +92,4 @@
|
|||
</children>
|
||||
</VBox>
|
||||
</bottom>
|
||||
</fx:root>
|
||||
</BorderPane>
|
||||
|
|
Loading…
Reference in a new issue