Skip to content
Snippets Groups Projects
Commit c1167321 authored by Harry Linrui XU's avatar Harry Linrui XU
Browse files

Created window for selecting budget in listview

parent 122923a4
No related branches found
No related tags found
1 merge request!43Merging frontend-testing into master
Showing with 35 additions and 4 deletions
maxAmount=50.0
\ No newline at end of file
maxAmount=50.0
\ No newline at end of file
maxAmount=50.0
\ No newline at end of file
maxAmount=50.0
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.DialogPane?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.ListView?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>
<DialogPane prefHeight="300.0" prefWidth="400.0" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="no.ntnu.idatt1002.demo.controller.SelectBudgetController">
<content>
<VBox alignment="CENTER" prefWidth="362.0">
<children>
<Label text="Select budget project">
<font>
<Font name="Lucida Console" size="24.0" />
</font>
</Label>
<ListView fx:id="budgetListView" prefHeight="200.0" prefWidth="200.0" />
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0" spacing="5.0">
<children>
<Button mnemonicParsing="false" onAction="#exitWindow" prefWidth="70.0" text="Cancel" />
<Button mnemonicParsing="false" onAction="#selectBudget" prefWidth="70.0" text="OK" />
</children>
</HBox>
<Label text="Click on an entry to select it">
<font>
<Font size="14.0" />
</font>
</Label>
</children>
</VBox>
</content>
</DialogPane>
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