-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ab55cec
commit 11dc60e
Showing
4 changed files
with
96 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53 changes: 28 additions & 25 deletions
53
src/main/resources/team/elrant/bubbles/gui/LoginView.fxml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,32 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<?import javafx.scene.control.*?> | ||
<?import javafx.scene.layout.Pane?> | ||
<?import javafx.scene.text.Font?> | ||
<Pane xmlns:fx="http://javafx.com/fxml/1" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" | ||
prefHeight="183.0" prefWidth="257.0" xmlns="http://javafx.com/javafx/17.0.2-ea" | ||
fx:controller="team.elrant.bubbles.gui.LoginController"> | ||
<Label layoutX="14.0" layoutY="61.0" text="Username"> | ||
<font> | ||
<Font name="Segoe UI Semibold" size="12.0"/> | ||
</font> | ||
</Label> | ||
<TextField fx:id="username_field" layoutX="94.0" layoutY="57.0" promptText="MarioRossi"/> | ||
<Label layoutX="15.0" layoutY="95.0" text="Password"> | ||
<font> | ||
<Font name="Segoe UI Semibold" size="12.0"/> | ||
</font> | ||
</Label> | ||
<PasswordField fx:id="password_field" layoutX="94.0" layoutY="91.0" promptText="********"/> | ||
<Label alignment="CENTER" contentDisplay="CENTER" maxWidth="-Infinity" minWidth="-Infinity" prefHeight="44.0" | ||
prefWidth="257.0" text="Login" textAlignment="CENTER"> | ||
<font> | ||
<Font name="Segoe UI Semibold" size="25.0"/> | ||
</font> | ||
</Label> | ||
<Button fx:id="submitButton" layoutX="191.0" layoutY="144.0" mnemonicParsing="false" onAction="#onSubmitButtonClick" | ||
text="Submit"/> | ||
<?import javafx.scene.layout.*?> | ||
<?import javafx.scene.text.*?> | ||
|
||
<Pane prefHeight="203.0" prefWidth="312.0" xmlns="http://javafx.com/javafx/17.0.2-ea" xmlns:fx="http://javafx.com/fxml/1" fx:controller="team.elrant.bubbles.gui.LoginController"> | ||
<AnchorPane layoutY="14.0"> | ||
<children> | ||
<AnchorPane fx:id="formPane" layoutX="22.0" layoutY="55.0" prefHeight="56.0" prefWidth="222.0"> | ||
<Label alignment="BASELINE_LEFT" layoutY="4.0" text="Username"> | ||
<font> | ||
<Font name="Segoe UI Semibold" size="12.0" /> | ||
</font> | ||
</Label> | ||
<TextField fx:id="username_field" layoutX="80.0" promptText="Username" /> | ||
<Label alignment="BASELINE_LEFT" layoutX="1.0" layoutY="38.0" text="Password"> | ||
<font> | ||
<Font name="Segoe UI Semibold" size="12.0" /> | ||
</font> | ||
</Label> | ||
<PasswordField fx:id="password_field" layoutX="80.0" layoutY="34.0" promptText="********" /> | ||
</AnchorPane> | ||
<Label fx:id="loginLabel" alignment="BASELINE_CENTER" contentDisplay="CENTER" maxWidth="-Infinity" minWidth="-Infinity" prefHeight="39.0" prefWidth="293.0" text="Log-in" textAlignment="CENTER"> | ||
<font> | ||
<Font name="Segoe UI Semibold" size="25.0" /> | ||
</font> | ||
</Label> | ||
</children> | ||
</AnchorPane> | ||
<Button fx:id="submitButton" layoutX="226.0" layoutY="150.0" mnemonicParsing="false" onAction="#onSubmitButtonClick" text="Submit" /> | ||
</Pane> |