Skip to content
Snippets Groups Projects
Commit a14aee84 authored by Matilainen Jaakko's avatar Matilainen Jaakko
Browse files

muokattu lisääteht ikkunaa ja aukeaa harakassa

parent a56c7494
No related branches found
No related tags found
No related merge requests found
...@@ -162,7 +162,7 @@ public class HarakkaController { ...@@ -162,7 +162,7 @@ public class HarakkaController {
@FXML @FXML
void handleLisaaTeht(ActionEvent event) { void handleLisaaTeht(ActionEvent event) {
Dialogs.showMessageDialog("Myöhemmin: Tästä saat lisättyä tehtävän"); ModalController.showModal(HarakkaController.class.getResource("LisääTehtävä.fxml"), "Muokkaa", null, "");
} }
@FXML @FXML
......
...@@ -5,10 +5,9 @@ ...@@ -5,10 +5,9 @@
<?import javafx.scene.layout.BorderPane?> <?import javafx.scene.layout.BorderPane?>
<?import javafx.scene.text.Text?> <?import javafx.scene.text.Text?>
<BorderPane xmlns="http://javafx.com/javafx/23.0.1" xmlns:fx="http://javafx.com/fxml/1">
<BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="199.0" prefWidth="443.0" xmlns="http://javafx.com/javafx/23.0.1" xmlns:fx="http://javafx.com/fxml/1">
<center> <center>
<TitledPane prefHeight="200.0" prefWidth="200.0" BorderPane.alignment="CENTER"> <TitledPane BorderPane.alignment="CENTER">
<content> <content>
<TextField prefHeight="25.0" prefWidth="262.0" /> <TextField prefHeight="25.0" prefWidth="262.0" />
</content> </content>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment