|
12 | 12 | <?import javafx.scene.layout.VBox?> |
13 | 13 | <?import javafx.scene.text.Font?> |
14 | 14 |
|
15 | | -<VBox fx:controller="com.casaculturaqxd.sgec.controller.CadastrarController" id="pageCadastro" alignment="CENTER" maxHeight="1024.0" maxWidth="1440.0" minHeight="-Infinity" minWidth="-Infinity" prefHeight="500.0" prefWidth="600.0" stylesheets="@../css/page/cadastroStyle.css" xmlns="http://javafx.com/javafx/20.0.1" xmlns:fx="http://javafx.com/fxml/1"> |
| 15 | +<VBox fx:controller="com.casaculturaqxd.sgec.controller.CadastrarController" id="pageCadastro" |
| 16 | + alignment="CENTER" maxHeight="1024.0" maxWidth="1440.0" minHeight="-Infinity" |
| 17 | + minWidth="-Infinity" prefHeight="500.0" prefWidth="600.0" |
| 18 | + stylesheets="@../css/page/cadastroStyle.css" xmlns="http://javafx.com/javafx/20.0.1" |
| 19 | + xmlns:fx="http://javafx.com/fxml/1"> |
16 | 20 | <children> |
17 | | - <AnchorPane maxHeight="600.0" maxWidth="800.0" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" VBox.vgrow="ALWAYS"> |
| 21 | + <AnchorPane maxHeight="600.0" maxWidth="800.0" minHeight="-Infinity" minWidth="-Infinity" |
| 22 | + prefHeight="400.0" prefWidth="600.0" VBox.vgrow="ALWAYS"> |
18 | 23 | <VBox.margin> |
19 | 24 | <Insets /> |
20 | 25 | </VBox.margin> |
21 | 26 | <children> |
22 | | - <VBox id="camposCadastro" fx:id="confirmeSenha" alignment="CENTER" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="300.0" prefWidth="450.0" spacing="30.0" AnchorPane.bottomAnchor="10.0" AnchorPane.leftAnchor="100.0" AnchorPane.rightAnchor="100.0" AnchorPane.topAnchor="40.0"> |
| 27 | + <VBox id="camposCadastro" fx:id="confirmeSenha" alignment="CENTER" maxHeight="-Infinity" |
| 28 | + maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="300.0" |
| 29 | + prefWidth="450.0" spacing="30.0" AnchorPane.bottomAnchor="10.0" |
| 30 | + AnchorPane.leftAnchor="100.0" AnchorPane.rightAnchor="100.0" |
| 31 | + AnchorPane.topAnchor="40.0"> |
23 | 32 | <children> |
24 | 33 | <VBox> |
25 | 34 | <VBox.margin> |
26 | 35 | <Insets left="20.0" right="20.0" top="40.0" /> |
27 | 36 | </VBox.margin> |
28 | 37 | <children> |
29 | | - <HBox maxHeight="-Infinity" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" prefHeight="20.0" prefWidth="300.0"> |
| 38 | + <HBox maxHeight="-Infinity" maxWidth="1.7976931348623157E308" |
| 39 | + minHeight="-Infinity" minWidth="-Infinity" prefHeight="20.0" |
| 40 | + prefWidth="300.0"> |
30 | 41 | <children> |
31 | | - <Label fx:id="nomeUsuario" prefWidth="122.0" styleClass="texto" text="Nome de usuário"> |
| 42 | + <Label prefWidth="122.0" styleClass="texto" |
| 43 | + text="Nome de usuário"> |
32 | 44 | <HBox.margin> |
33 | 45 | <Insets left="20.0" top="-5.0" /> |
34 | 46 | </HBox.margin> |
|
38 | 50 | </Label> |
39 | 51 | </children> |
40 | 52 | </HBox> |
41 | | - <TextField id="nomeUsuario" maxHeight="-Infinity" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" prefHeight="40.0" prefWidth="300.0"> |
| 53 | + <TextField fx:id="nomeUsuario" id="nomeUsuario" |
| 54 | + onKeyReleased="#keyReleasedProperty" maxHeight="-Infinity" |
| 55 | + maxWidth="1.7976931348623157E308" minHeight="-Infinity" |
| 56 | + minWidth="-Infinity" prefHeight="40.0" prefWidth="300.0"> |
42 | 57 | <VBox.margin> |
43 | 58 | <Insets left="20.0" right="20.0" /> |
44 | 59 | </VBox.margin> |
|
50 | 65 | <Insets left="20.0" right="20.0" /> |
51 | 66 | </VBox.margin> |
52 | 67 | <children> |
53 | | - <HBox maxHeight="-Infinity" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" prefHeight="20.0" prefWidth="300.0"> |
| 68 | + <HBox maxHeight="-Infinity" maxWidth="1.7976931348623157E308" |
| 69 | + minHeight="-Infinity" minWidth="-Infinity" prefHeight="20.0" |
| 70 | + prefWidth="300.0"> |
54 | 71 | <children> |
55 | | - <Label fx:id="email" maxWidth="1.7976931348623157E308" styleClass="texto" text="E-mail"> |
| 72 | + <Label maxWidth="1.7976931348623157E308" |
| 73 | + styleClass="texto" text="E-mail"> |
56 | 74 | <HBox.margin> |
57 | 75 | <Insets left="20.0" top="-5.0" /> |
58 | 76 | </HBox.margin> |
|
62 | 80 | </Label> |
63 | 81 | </children> |
64 | 82 | </HBox> |
65 | | - <TextField fx:id="email" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" prefHeight="40.0" prefWidth="300.0"> |
| 83 | + <TextField fx:id="email" onKeyReleased="#keyReleasedProperty" |
| 84 | + maxHeight="1.7976931348623157E308" |
| 85 | + maxWidth="1.7976931348623157E308" minHeight="-Infinity" |
| 86 | + minWidth="-Infinity" prefHeight="40.0" prefWidth="300.0"> |
66 | 87 | <VBox.margin> |
67 | 88 | <Insets left="20.0" right="20.0" /> |
68 | 89 | </VBox.margin> |
|
74 | 95 | <Insets left="20.0" right="20.0" /> |
75 | 96 | </VBox.margin> |
76 | 97 | <children> |
77 | | - <HBox maxHeight="-Infinity" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" prefHeight="20.0" prefWidth="300.0"> |
| 98 | + <HBox maxHeight="-Infinity" maxWidth="1.7976931348623157E308" |
| 99 | + minHeight="-Infinity" minWidth="-Infinity" prefHeight="20.0" |
| 100 | + prefWidth="300.0"> |
78 | 101 | <children> |
79 | 102 | <Label styleClass="texto" text="Senha"> |
80 | 103 | <HBox.margin> |
|
86 | 109 | </Label> |
87 | 110 | </children> |
88 | 111 | </HBox> |
89 | | - <PasswordField fx:id="senha" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" prefHeight="40.0" prefWidth="300.0"> |
| 112 | + <PasswordField fx:id="senha" onKeyReleased="#keyReleasedProperty" |
| 113 | + maxHeight="1.7976931348623157E308" |
| 114 | + maxWidth="1.7976931348623157E308" minHeight="-Infinity" |
| 115 | + minWidth="-Infinity" prefHeight="40.0" prefWidth="300.0"> |
90 | 116 | <VBox.margin> |
91 | 117 | <Insets left="20.0" right="20.0" /> |
92 | 118 | </VBox.margin> |
|
98 | 124 | <Insets left="20.0" right="20.0" /> |
99 | 125 | </VBox.margin> |
100 | 126 | <children> |
101 | | - <HBox maxHeight="-Infinity" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" prefHeight="20.0" prefWidth="300.0"> |
| 127 | + <HBox maxHeight="-Infinity" maxWidth="1.7976931348623157E308" |
| 128 | + minHeight="-Infinity" minWidth="-Infinity" prefHeight="20.0" |
| 129 | + prefWidth="300.0"> |
102 | 130 | <VBox.margin> |
103 | 131 | <Insets left="20.0" /> |
104 | 132 | </VBox.margin> |
105 | 133 | <children> |
106 | | - <Label maxHeight="-Infinity" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" prefHeight="20.0" prefWidth="127.0" styleClass="texto" text="Confirme a senha"> |
| 134 | + <Label maxHeight="-Infinity" maxWidth="1.7976931348623157E308" |
| 135 | + minHeight="-Infinity" minWidth="-Infinity" prefHeight="20.0" |
| 136 | + prefWidth="127.0" styleClass="texto" text="Confirme a senha"> |
107 | 137 | <font> |
108 | 138 | <Font size="16.0" /> |
109 | 139 | </font> |
|
113 | 143 | </Label> |
114 | 144 | </children> |
115 | 145 | </HBox> |
116 | | - <PasswordField fx:id="confirmarSenha" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" prefHeight="40.0" prefWidth="300.0"> |
| 146 | + <PasswordField fx:id="confirmarSenha" onKeyReleased="#keyReleasedProperty" |
| 147 | + maxHeight="1.7976931348623157E308" |
| 148 | + maxWidth="1.7976931348623157E308" minHeight="-Infinity" |
| 149 | + minWidth="-Infinity" prefHeight="40.0" prefWidth="300.0"> |
117 | 150 | <VBox.margin> |
118 | 151 | <Insets left="20.0" right="20.0" /> |
119 | 152 | </VBox.margin> |
120 | 153 | </PasswordField> |
121 | 154 | </children> |
122 | 155 | </VBox> |
123 | | - <VBox alignment="CENTER" maxHeight="1.7976931348623157E308" prefHeight="29.0" prefWidth="400.0" VBox.vgrow="ALWAYS"> |
| 156 | + <VBox alignment="CENTER" maxHeight="1.7976931348623157E308" prefHeight="29.0" |
| 157 | + prefWidth="400.0" VBox.vgrow="ALWAYS"> |
124 | 158 | <children> |
125 | | - <Button id="botao" fx:id="botaoCadastrar" alignment="CENTER" contentDisplay="TOP" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" mnemonicParsing="false" prefHeight="30.0" prefWidth="300.0" text="Cadastrar-se"> |
| 159 | + <Button id="botao" fx:id="signupButton" alignment="CENTER" |
| 160 | + contentDisplay="TOP" maxHeight="-Infinity" maxWidth="-Infinity" |
| 161 | + minHeight="-Infinity" minWidth="-Infinity" mnemonicParsing="false" |
| 162 | + onAction="#cadastrarUsuario" defaultButton="true" prefHeight="30.0" |
| 163 | + prefWidth="300.0" text="Cadastrar-se"> |
126 | 164 | <VBox.margin> |
127 | 165 | <Insets bottom="10.0" /> |
128 | 166 | </VBox.margin> |
|
131 | 169 | </VBox> |
132 | 170 | </children> |
133 | 171 | </VBox> |
134 | | - <VBox AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0"> |
| 172 | + <VBox AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" |
| 173 | + AnchorPane.topAnchor="0.0"> |
135 | 174 | <children> |
136 | 175 | <HBox alignment="CENTER" prefHeight="30.0" prefWidth="325.0"> |
137 | 176 | <children> |
|
144 | 183 | </HBox> |
145 | 184 | </children> |
146 | 185 | </VBox> |
147 | | - <ImageView fx:id="backLogin" onMouseClicked="#back" fitHeight="34.0" fitWidth="24.0" layoutX="10.0" layoutY="10.0" pickOnBounds="true" preserveRatio="true"> |
| 186 | + <ImageView fx:id="backLogin" onMouseClicked="#back" fitHeight="34.0" fitWidth="24.0" |
| 187 | + layoutX="10.0" layoutY="10.0" pickOnBounds="true" preserveRatio="true"> |
148 | 188 | <image> |
149 | 189 | <Image url="@../imagens/left-arrow_271218.png" /> |
150 | 190 | </image> |
|
0 commit comments