Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
ohj2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
jokayli
ohj2
Commits
501744bf
Commit
501744bf
authored
1 month ago
by
jokayli
Browse files
Options
Downloads
Patches
Plain Diff
Improved layout of omat tiedot
parent
62049c81
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ht/src/fxPadelRekisteri/OmatTiedotController.java
+1
-1
1 addition, 1 deletion
ht/src/fxPadelRekisteri/OmatTiedotController.java
ht/src/fxPadelRekisteri/OmatTiedotView.fxml
+69
-77
69 additions, 77 deletions
ht/src/fxPadelRekisteri/OmatTiedotView.fxml
with
70 additions
and
78 deletions
ht/src/fxPadelRekisteri/OmatTiedotController.java
+
1
−
1
View file @
501744bf
...
...
@@ -7,7 +7,7 @@ import javafx.scene.input.MouseEvent;
public
class
OmatTiedotController
extends
ViewChangeHandler
{
@FXML
void
handle
Save
(
MouseEvent
event
)
{
void
handle
Tallenna
(
MouseEvent
event
)
{
Dialogs
.
showMessageDialog
(
"Tallennus ei toimi"
);
}
}
This diff is collapsed.
Click to expand it.
ht/src/fxPadelRekisteri/OmatTiedotView.fxml
+
69
−
77
View file @
501744bf
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.ChoiceBox?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.Separator?>
<?import javafx.scene.control.SplitPane?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.control.TitledPane?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.ColumnConstraints?>
<?import javafx.scene.layout.GridPane?>
<?import javafx.scene.layout.RowConstraints?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>
<?import javafx.geometry.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<?import javafx.scene.text.*?>
<TitledPane
stylesheets=
"@padelrekisteri.css"
text=
"jokayli@student.jyu.fi"
xmlns=
"http://javafx.com/javafx/23.0.1"
xmlns:fx=
"http://javafx.com/fxml/1"
fx:controller=
"fxPadelRekisteri.OmatTiedotController"
>
<content>
<BorderPane
stylesheets=
"@padelrekisteri.css"
xmlns=
"http://javafx.com/javafx/11.0.14-internal"
xmlns:fx=
"http://javafx.com/fxml/1"
fx:controller=
"fxPadelRekisteri.OmatTiedotController"
>
<top>
<MenuBar
BorderPane.alignment=
"CENTER"
>
<menus>
<Menu
mnemonicParsing=
"false"
text=
"jokayli@student.jyu.fi"
/>
</menus>
</MenuBar>
</top>
<center>
<SplitPane
dividerPositions=
"0.29797979797979796"
maxHeight=
"-Infinity"
maxWidth=
"-Infinity"
minHeight=
"-Infinity"
minWidth=
"-Infinity"
prefHeight=
"400.0"
prefWidth=
"600.0"
>
<items>
<AnchorPane
minHeight=
"0.0"
minWidth=
"0.0"
prefHeight=
"400.0"
prefWidth=
"130.0"
>
...
...
@@ -57,73 +54,68 @@
<Separator
layoutX=
"-12.0"
layoutY=
"99.0"
prefWidth=
"200.0"
/>
</children>
</AnchorPane>
<AnchorPane
minHeight=
"0.0"
minWidth=
"0.0"
prefHeight=
"160.0"
prefWidth=
"100.0"
>
<children>
<GridPane
layoutX=
"36.0"
layoutY=
"82.0"
prefHeight=
"400.0"
prefWidth=
"418.0"
AnchorPane.bottomAnchor=
"0.0"
AnchorPane.leftAnchor=
"0.0"
AnchorPane.rightAnchor=
"0.0"
AnchorPane.topAnchor=
"0.0"
>
<BorderPane
fx:id=
"panelKayttaja"
prefHeight=
"200.0"
prefWidth=
"200.0"
>
<top>
<Label
alignment=
"CENTER"
prefHeight=
"17.0"
prefWidth=
"166.0"
text=
"Toiminnot"
BorderPane.alignment=
"CENTER"
/>
</top>
<center>
<GridPane
prefHeight=
"379.0"
prefWidth=
"248.0"
GridPane.rowIndex=
"1"
>
<columnConstraints>
<ColumnConstraints
hgrow=
"SOMETIMES"
maxWidth=
"
276
.0"
minWidth=
"10.0"
prefWidth=
"
256
.0"
/>
<ColumnConstraints
hgrow=
"SOMETIMES"
maxWidth=
"
204
.0"
minWidth=
"10.0"
prefWidth=
"16
2
.0"
/>
<ColumnConstraints
hgrow=
"SOMETIMES"
maxWidth=
"
191
.0"
minWidth=
"10.0"
prefWidth=
"
89
.0"
/>
<ColumnConstraints
hgrow=
"SOMETIMES"
maxWidth=
"
187
.0"
minWidth=
"10.0"
prefWidth=
"16
7
.0"
/>
</columnConstraints>
<rowConstraints>
<RowConstraints
maxHeight=
"195.0"
minHeight=
"10.0"
prefHeight=
"21.0"
vgrow=
"SOMETIMES"
/>
<RowConstraints
maxHeight=
"379.0"
minHeight=
"10.0"
prefHeight=
"379.0"
vgrow=
"SOMETIMES"
/>
<RowConstraints
maxHeight=
"40.0"
minHeight=
"25.0"
prefHeight=
"35.0"
vgrow=
"SOMETIMES"
/>
<RowConstraints
maxHeight=
"40.0"
minHeight=
"25.0"
prefHeight=
"35.0"
vgrow=
"SOMETIMES"
/>
<RowConstraints
maxHeight=
"40.0"
minHeight=
"25.0"
prefHeight=
"35.0"
vgrow=
"SOMETIMES"
/>
<RowConstraints
maxHeight=
"40.0"
minHeight=
"25.0"
prefHeight=
"35.0"
vgrow=
"SOMETIMES"
/>
<RowConstraints
maxHeight=
"40.0"
minHeight=
"25.0"
prefHeight=
"35.0"
vgrow=
"SOMETIMES"
/>
<RowConstraints
maxHeight=
"40.0"
minHeight=
"25.0"
prefHeight=
"35.0"
vgrow=
"SOMETIMES"
/>
<RowConstraints
maxHeight=
"40.0"
minHeight=
"25.0"
prefHeight=
"35.0"
vgrow=
"SOMETIMES"
/>
<RowConstraints
maxHeight=
"40.0"
minHeight=
"25.0"
prefHeight=
"35.0"
vgrow=
"SOMETIMES"
/>
<RowConstraints
maxHeight=
"40.0"
minHeight=
"25.0"
prefHeight=
"35.0"
vgrow=
"SOMETIMES"
/>
<RowConstraints
maxHeight=
"40.0"
minHeight=
"25.0"
prefHeight=
"35.0"
vgrow=
"SOMETIMES"
/>
</rowConstraints>
<children>
<Label
alignment=
"CENTER"
prefHeight=
"17.0"
prefWidth=
"166.0"
text=
"Toiminnot"
GridPane.columnIndex=
"1"
/>
<Label
alignment=
"CENTER"
prefHeight=
"17.0"
prefWidth=
"212.0"
text=
"Tarkastele ja muokkaa omia tietoja"
/>
<VBox
alignment=
"TOP_CENTER"
prefHeight=
"379.0"
prefWidth=
"152.0"
GridPane.columnIndex=
"1"
GridPane.rowIndex=
"1"
>
<children>
<Button
alignment=
"CENTER"
mnemonicParsing=
"false"
onMouseClicked=
"#handleSave"
prefHeight=
"40.0"
prefWidth=
"141.0"
text=
"Tallenna muutokset"
>
<font>
<Font
size=
"14.0"
/>
</font>
<VBox.margin>
<Insets
top=
"6.0"
/>
</VBox.margin>
</Button>
</children>
</VBox>
<GridPane
prefHeight=
"379.0"
prefWidth=
"248.0"
GridPane.rowIndex=
"1"
>
<columnConstraints>
<ColumnConstraints
hgrow=
"SOMETIMES"
maxWidth=
"191.0"
minWidth=
"10.0"
prefWidth=
"89.0"
/>
<ColumnConstraints
hgrow=
"SOMETIMES"
maxWidth=
"187.0"
minWidth=
"10.0"
prefWidth=
"167.0"
/>
</columnConstraints>
<rowConstraints>
<RowConstraints
maxHeight=
"40.0"
minHeight=
"25.0"
prefHeight=
"35.0"
vgrow=
"SOMETIMES"
/>
<RowConstraints
maxHeight=
"40.0"
minHeight=
"25.0"
prefHeight=
"35.0"
vgrow=
"SOMETIMES"
/>
<RowConstraints
maxHeight=
"40.0"
minHeight=
"25.0"
prefHeight=
"35.0"
vgrow=
"SOMETIMES"
/>
<RowConstraints
maxHeight=
"40.0"
minHeight=
"25.0"
prefHeight=
"35.0"
vgrow=
"SOMETIMES"
/>
<RowConstraints
maxHeight=
"40.0"
minHeight=
"25.0"
prefHeight=
"35.0"
vgrow=
"SOMETIMES"
/>
<RowConstraints
maxHeight=
"40.0"
minHeight=
"25.0"
prefHeight=
"35.0"
vgrow=
"SOMETIMES"
/>
<RowConstraints
maxHeight=
"40.0"
minHeight=
"25.0"
prefHeight=
"35.0"
vgrow=
"SOMETIMES"
/>
<RowConstraints
maxHeight=
"40.0"
minHeight=
"25.0"
prefHeight=
"35.0"
vgrow=
"SOMETIMES"
/>
<RowConstraints
maxHeight=
"40.0"
minHeight=
"25.0"
prefHeight=
"35.0"
vgrow=
"SOMETIMES"
/>
<RowConstraints
maxHeight=
"40.0"
minHeight=
"25.0"
prefHeight=
"35.0"
vgrow=
"SOMETIMES"
/>
</rowConstraints>
<children>
<Label
alignment=
"CENTER_RIGHT"
prefHeight=
"40.0"
prefWidth=
"89.0"
text=
"Nimi"
/>
<Label
alignment=
"CENTER_RIGHT"
layoutX=
"10.0"
layoutY=
"22.0"
prefHeight=
"37.0"
prefWidth=
"89.0"
text=
"Email"
textAlignment=
"RIGHT"
GridPane.rowIndex=
"1"
/>
<Label
alignment=
"CENTER_RIGHT"
layoutX=
"10.0"
layoutY=
"62.0"
prefHeight=
"38.0"
prefWidth=
"89.0"
text=
"Puhelinnumero"
GridPane.rowIndex=
"2"
/>
<Label
alignment=
"CENTER_RIGHT"
layoutX=
"10.0"
layoutY=
"86.0"
prefHeight=
"38.0"
prefWidth=
"89.0"
text=
"Osoite"
GridPane.rowIndex=
"3"
/>
<Label
alignment=
"CENTER_RIGHT"
layoutX=
"10.0"
layoutY=
"124.0"
prefHeight=
"38.0"
prefWidth=
"89.0"
text=
"Postinumero"
GridPane.rowIndex=
"4"
/>
<Label
alignment=
"CENTER_RIGHT"
layoutX=
"10.0"
layoutY=
"162.0"
prefHeight=
"38.0"
prefWidth=
"89.0"
text=
"Toimipaikka"
GridPane.rowIndex=
"5"
/>
<Label
alignment=
"CENTER_RIGHT"
layoutX=
"10.0"
layoutY=
"200.0"
prefHeight=
"38.0"
prefWidth=
"89.0"
text=
"Sukupuoli"
GridPane.rowIndex=
"6"
/>
<Label
alignment=
"CENTER_RIGHT"
layoutX=
"10.0"
layoutY=
"238.0"
prefHeight=
"38.0"
prefWidth=
"89.0"
text=
"Syntymävuosi"
GridPane.rowIndex=
"7"
/>
<TextField
prefHeight=
"25.0"
prefWidth=
"159.0"
text=
"Joonas"
GridPane.columnIndex=
"1"
/>
<TextField
layoutX=
"99.0"
layoutY=
"17.0"
text=
"jokayli@student.jyu.fi"
GridPane.columnIndex=
"1"
GridPane.rowIndex=
"1"
/>
<TextField
layoutX=
"99.0"
layoutY=
"55.0"
text=
"045045045045"
GridPane.columnIndex=
"1"
GridPane.rowIndex=
"2"
/>
<TextField
layoutX=
"99.0"
layoutY=
"93.0"
text=
"Yliopistonkatu 1"
GridPane.columnIndex=
"1"
GridPane.rowIndex=
"3"
/>
<TextField
layoutX=
"99.0"
layoutY=
"131.0"
text=
"20540"
GridPane.columnIndex=
"1"
GridPane.rowIndex=
"4"
/>
<TextField
layoutX=
"99.0"
layoutY=
"169.0"
text=
"Turku"
GridPane.columnIndex=
"1"
GridPane.rowIndex=
"5"
/>
<ChoiceBox
prefHeight=
"25.0"
prefWidth=
"171.0"
GridPane.columnIndex=
"1"
GridPane.rowIndex=
"6"
/>
<TextField
text=
"1995"
GridPane.columnIndex=
"1"
GridPane.rowIndex=
"7"
/>
</children>
</GridPane>
<Label
alignment=
"CENTER_RIGHT"
prefHeight=
"40.0"
prefWidth=
"89.0"
text=
"Nimi"
/>
<Label
alignment=
"CENTER_RIGHT"
layoutX=
"10.0"
layoutY=
"22.0"
prefHeight=
"37.0"
prefWidth=
"89.0"
text=
"Email"
textAlignment=
"RIGHT"
GridPane.rowIndex=
"1"
/>
<Label
alignment=
"CENTER_RIGHT"
layoutX=
"10.0"
layoutY=
"62.0"
prefHeight=
"38.0"
prefWidth=
"89.0"
text=
"Puhelinnumero"
GridPane.rowIndex=
"2"
/>
<Label
alignment=
"CENTER_RIGHT"
layoutX=
"10.0"
layoutY=
"86.0"
prefHeight=
"38.0"
prefWidth=
"89.0"
text=
"Osoite"
GridPane.rowIndex=
"3"
/>
<Label
alignment=
"CENTER_RIGHT"
layoutX=
"10.0"
layoutY=
"124.0"
prefHeight=
"38.0"
prefWidth=
"89.0"
text=
"Postinumero"
GridPane.rowIndex=
"4"
/>
<Label
alignment=
"CENTER_RIGHT"
layoutX=
"10.0"
layoutY=
"162.0"
prefHeight=
"38.0"
prefWidth=
"89.0"
text=
"Toimipaikka"
GridPane.rowIndex=
"5"
/>
<Label
alignment=
"CENTER_RIGHT"
layoutX=
"10.0"
layoutY=
"200.0"
prefHeight=
"38.0"
prefWidth=
"89.0"
text=
"Sukupuoli"
GridPane.rowIndex=
"6"
/>
<Label
alignment=
"CENTER_RIGHT"
layoutX=
"10.0"
layoutY=
"238.0"
prefHeight=
"38.0"
prefWidth=
"89.0"
text=
"Syntymävuosi"
GridPane.rowIndex=
"7"
/>
<TextField
prefHeight=
"25.0"
prefWidth=
"159.0"
text=
"Joonas"
GridPane.columnIndex=
"1"
/>
<TextField
layoutX=
"99.0"
layoutY=
"17.0"
text=
"jokayli@student.jyu.fi"
GridPane.columnIndex=
"1"
GridPane.rowIndex=
"1"
/>
<TextField
layoutX=
"99.0"
layoutY=
"55.0"
text=
"045045045045"
GridPane.columnIndex=
"1"
GridPane.rowIndex=
"2"
/>
<TextField
layoutX=
"99.0"
layoutY=
"93.0"
text=
"Yliopistonkatu 1"
GridPane.columnIndex=
"1"
GridPane.rowIndex=
"3"
/>
<TextField
layoutX=
"99.0"
layoutY=
"131.0"
text=
"20540"
GridPane.columnIndex=
"1"
GridPane.rowIndex=
"4"
/>
<TextField
layoutX=
"99.0"
layoutY=
"169.0"
text=
"Turku"
GridPane.columnIndex=
"1"
GridPane.rowIndex=
"5"
/>
<ChoiceBox
prefHeight=
"25.0"
prefWidth=
"171.0"
GridPane.columnIndex=
"1"
GridPane.rowIndex=
"6"
/>
<TextField
text=
"1995"
GridPane.columnIndex=
"1"
GridPane.rowIndex=
"7"
/>
</children>
</GridPane>
</c
hildren
>
</
Ancho
rPane>
</c
enter
>
</
Borde
rPane>
</items>
</SplitPane>
</content>
</TitledPane>
</center>
<bottom>
<BorderPane
prefHeight=
"60.0"
prefWidth=
"200.0"
BorderPane.alignment=
"CENTER"
>
<right>
<HBox
prefHeight=
"70.0"
prefWidth=
"100.0"
BorderPane.alignment=
"CENTER"
>
<children>
<Button
alignment=
"CENTER"
mnemonicParsing=
"false"
onMouseClicked=
"#handleTallenna"
prefHeight=
"30.0"
prefWidth=
"80.0"
text=
"Tallenna"
/>
</children>
</HBox>
</right>
<BorderPane.margin>
<Insets
/>
</BorderPane.margin>
<padding>
<Insets
top=
"10.0"
/>
</padding>
</BorderPane>
</bottom>
</BorderPane>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment