This repository was archived by the owner on May 2, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathChangeResourcePic.fxml
More file actions
53 lines (51 loc) · 3.2 KB
/
ChangeResourcePic.fxml
File metadata and controls
53 lines (51 loc) · 3.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.ChoiceBox?>
<?import javafx.scene.image.Image?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.BorderPane?>
<?import javafx.scene.layout.ColumnConstraints?>
<?import javafx.scene.layout.GridPane?>
<?import javafx.scene.layout.RowConstraints?>
<BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/10.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ChangeResourcePicController">
<center>
<AnchorPane prefHeight="383.0" prefWidth="532.0" style="-fx-background-color: #E1f5fe #E1f5fe;" BorderPane.alignment="CENTER">
<children>
<GridPane prefHeight="400.0" prefWidth="600.0" style="-fx-background-color: 0;">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="333.0" minWidth="10.0" prefWidth="48.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="562.0" minWidth="10.0" prefWidth="372.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="562.0" minWidth="10.0" prefWidth="182.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints maxHeight="309.0" minHeight="10.0" prefHeight="31.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="363.0" minHeight="10.0" prefHeight="294.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="165.0" minHeight="10.0" prefHeight="76.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<GridPane GridPane.columnIndex="2" GridPane.rowIndex="1">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="109.0" minWidth="10.0" prefWidth="109.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="87.0" minWidth="10.0" prefWidth="73.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<Button fx:id="save" mnemonicParsing="false" onAction="#handleSave" prefHeight="27.0" prefWidth="101.0" stylesheets="@ButtonB.css" text="Save Avatar" GridPane.rowIndex="1" />
<ChoiceBox fx:id="pic" onAction="#handlePicturePushed" prefWidth="150.0" />
</children>
</GridPane>
<ImageView fx:id="picture" fitHeight="293.0" fitWidth="371.0" pickOnBounds="true" preserveRatio="true" GridPane.columnIndex="1" GridPane.rowIndex="1">
<image>
<Image url="@cd-dvd.jpg" />
</image></ImageView>
</children>
</GridPane>
</children>
</AnchorPane>
</center>
</BorderPane>