Login-page and Register-page UI implemented.
This commit is contained in:
@@ -1,19 +1,31 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.image.ImageView?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.shape.Circle?>
|
||||
|
||||
<AnchorPane xmlns:fx="http://javafx.com/fxml" fx:controller="org.to.telegramfinalproject.UI.IntroController">
|
||||
<VBox spacing="20" alignment="CENTER" AnchorPane.topAnchor="0" AnchorPane.bottomAnchor="0" AnchorPane.leftAnchor="0" AnchorPane.rightAnchor="0">
|
||||
<StackPane fx:id="imagePane" prefHeight="300" prefWidth="300"/>
|
||||
<StackPane xmlns:fx="http://javafx.com/fxml" fx:controller="org.to.telegramfinalproject.UI.IntroController">
|
||||
<VBox fx:id="rootVBox" alignment="CENTER" spacing="15">
|
||||
<padding>
|
||||
<Insets top="40" right="40" bottom="40" left="40"/>
|
||||
</padding>
|
||||
|
||||
<Label fx:id="caption" style="-fx-font-size: 14px; -fx-text-alignment: center;" wrapText="true" text=""/>
|
||||
<StackPane fx:id="imagePane" maxWidth="400" maxHeight="250" VBox.vgrow="NEVER" />
|
||||
|
||||
<HBox fx:id="dotContainer" spacing="8" alignment="CENTER"/>
|
||||
<Label fx:id="caption"
|
||||
style="-fx-font-size: 16px; -fx-text-alignment: center;"
|
||||
wrapText="true"
|
||||
maxWidth="600"
|
||||
alignment="CENTER" />
|
||||
|
||||
<Button fx:id="startButton" text="Start messaging" onAction="#handleStartMessaging"
|
||||
style="-fx-background-color: #2AABEE; -fx-text-fill: white; -fx-font-weight: bold;"/>
|
||||
<HBox fx:id="dotContainer" spacing="10" alignment="CENTER" />
|
||||
|
||||
<Button fx:id="startButton"
|
||||
text="Start Messaging"
|
||||
onAction="#handleStartMessaging"
|
||||
style="-fx-background-color: #2AABEE; -fx-text-fill: white; -fx-font-weight: bold;"
|
||||
maxWidth="200"
|
||||
minHeight="40" />
|
||||
</VBox>
|
||||
</AnchorPane>
|
||||
</StackPane>
|
||||
|
||||
Reference in New Issue
Block a user