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
389a7013
Commit
389a7013
authored
4 weeks ago
by
jokayli
Browse files
Options
Downloads
Patches
Plain Diff
Improvements to layout
parent
539237b3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ht/src/fxPadelRekisteri/HallitView.fxml
+68
-59
68 additions, 59 deletions
ht/src/fxPadelRekisteri/HallitView.fxml
with
68 additions
and
59 deletions
ht/src/fxPadelRekisteri/HallitView.fxml
+
68
−
59
View file @
389a7013
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.Separator?>
<?import javafx.scene.control.SplitPane?>
<?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 fi.jyu.mit.fxgui.*?>
<?import javafx.geometry.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<?import javafx.scene.text.*?>
<
Titled
Pane
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.HallitController"
>
<c
ont
ent>
<
Border
Pane
stylesheets=
"@padelrekisteri.css"
xmlns=
"http://javafx.com/javafx/
11
.0.1
4-internal
"
xmlns:fx=
"http://javafx.com/fxml/1"
fx:controller=
"fxPadelRekisteri.HallitController"
>
<cent
er
>
<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"
>
...
...
@@ -55,52 +48,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"
>
<columnConstraints>
<ColumnConstraints
hgrow=
"SOMETIMES"
maxWidth=
"276.0"
minWidth=
"10.0"
prefWidth=
"256.0"
/>
<ColumnConstraints
hgrow=
"SOMETIMES"
maxWidth=
"204.0"
minWidth=
"10.0"
prefWidth=
"162.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>
<children>
<Label
alignment=
"CENTER"
prefHeight=
"17.0"
prefWidth=
"166.0"
text=
"Toiminnot"
GridPane.columnIndex=
"1"
/>
<Label
alignment=
"CENTER"
prefHeight=
"17.0"
prefWidth=
"261.0"
text=
"Kaikki hallit"
/>
<VBox
alignment=
"TOP_CENTER"
prefHeight=
"379.0"
prefWidth=
"152.0"
GridPane.columnIndex=
"1"
GridPane.rowIndex=
"1"
>
<children>
<Button
alignment=
"CENTER"
mnemonicParsing=
"false"
onMouseClicked=
"#handleShowHalli"
prefHeight=
"40.0"
prefWidth=
"141.0"
text=
"Näytä valittu halli"
>
<font>
<Font
size=
"14.0"
/>
</font>
<VBox.margin>
<Insets
top=
"6.0"
/>
</VBox.margin>
</Button>
<Button
alignment=
"CENTER"
layoutX=
"21.0"
layoutY=
"16.0"
mnemonicParsing=
"false"
onMouseClicked=
"#handleUusiHalli"
prefHeight=
"40.0"
prefWidth=
"141.0"
text=
"Uusi halli"
>
<font>
<Font
size=
"14.0"
/>
</font>
<VBox.margin>
<Insets
top=
"10.0"
/>
</VBox.margin>
</Button>
</children>
</VBox>
<VBox
prefHeight=
"200.0"
prefWidth=
"100.0"
GridPane.rowIndex=
"1"
>
<SplitPane
dividerPositions=
"0.5"
>
<items>
<BorderPane>
<center>
<ListChooser
fx:id=
"chooserHallit"
maxHeight=
"1.7976931348623157E308"
onMouseClicked=
"#handleNaytaHalli"
prefHeight=
"100.0"
rivit=
"Ankka Aku Ankka Iines Ankka Roope Ponteva Veli Susi Sepe "
BorderPane.alignment=
"CENTER"
/>
</center>
<top>
<HBox
BorderPane.alignment=
"CENTER"
>
<children>
<Label
alignment=
"CENTER"
prefHeight=
"33.0"
prefWidth=
"256.0"
style=
"-fx-background-color: #EEEEEE;"
text=
"Jaakon padelhalli"
/>
<Label
alignment=
"CENTER"
layoutX=
"10.0"
layoutY=
"10.0"
prefHeight=
"33.0"
prefWidth=
"256.0"
text=
"Padel Center Helsinki"
/>
<Label
alignment=
"CENTER"
layoutX=
"10.0"
layoutY=
"10.0"
prefHeight=
"33.0"
prefWidth=
"256.0"
style=
"-fx-background-color: #EEEEEE;"
text=
"Jarkko niemisen tennis ja padel"
/>
<Label
text=
"Järjestä"
>
<padding>
<Insets
left=
"10.0"
right=
"10.0"
/>
</padding>
<HBox.margin>
<Insets
top=
"5.0"
/>
</HBox.margin>
</Label>
<ChoiceBox
fx:id=
"choiceJarjesta"
onInputMethodTextChanged=
"#handleJarjesta"
prefWidth=
"120.0"
/>
</children>
</VBox>
</children>
</GridPane>
</children>
</AnchorPane>
</HBox>
</top>
</BorderPane>
<BorderPane
prefHeight=
"200.0"
prefWidth=
"200.0"
>
<top>
<Label
alignment=
"CENTER"
prefHeight=
"17.0"
prefWidth=
"166.0"
text=
"Toiminnot"
BorderPane.alignment=
"CENTER"
/>
</top>
<center>
<TextArea
fx:id=
"panelHalli"
prefHeight=
"200.0"
prefWidth=
"200.0"
BorderPane.alignment=
"CENTER"
/>
</center>
</BorderPane>
</items>
</SplitPane>
</items>
</SplitPane>
</content>
</TitledPane>
</center>
<top>
<MenuBar
BorderPane.alignment=
"CENTER"
>
<menus>
<Menu
mnemonicParsing=
"false"
text=
"jokayli@student.jyu.fi"
/>
</menus>
</MenuBar>
</top>
<bottom>
<BorderPane
prefHeight=
"60.0"
prefWidth=
"200.0"
BorderPane.alignment=
"CENTER"
>
<right>
<HBox
prefHeight=
"70.0"
prefWidth=
"200.0"
BorderPane.alignment=
"CENTER"
>
<children>
<Button
alignment=
"CENTER"
mnemonicParsing=
"false"
onMouseClicked=
"#handleTallenna"
prefHeight=
"30.0"
prefWidth=
"80.0"
text=
"Tallenna"
/>
<Button
alignment=
"CENTER"
mnemonicParsing=
"false"
onMouseClicked=
"#handleUusiHalli"
prefHeight=
"30.0"
prefWidth=
"110.0"
text=
"Uusi halli"
>
<HBox.margin>
<Insets
left=
"10.0"
right=
"5.0"
/>
</HBox.margin>
</Button>
</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