-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b5392ab
commit 9befc86
Showing
4 changed files
with
61 additions
and
72 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,37 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<?import javafx.scene.control.Button?> | ||
<?import javafx.scene.control.Label?> | ||
<?import javafx.scene.control.TextField?> | ||
<?import javafx.scene.image.Image?> | ||
<?import javafx.scene.image.ImageView?> | ||
<?import javafx.scene.layout.AnchorPane?> | ||
<?import javafx.scene.text.Font?> | ||
|
||
<fx:root prefHeight="100.0" prefWidth="695.0" style="-fx-background-color: #ffffff;" type="javafx.scene.layout.AnchorPane" xmlns="http://javafx.com/javafx/15.0.1" xmlns:fx="http://javafx.com/fxml/1"> | ||
<fx:root maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="66.0" prefWidth="320.0" style="-fx-background-color: #ffffff;" type="javafx.scene.layout.AnchorPane" xmlns="http://javafx.com/javafx/16" xmlns:fx="http://javafx.com/fxml/1"> | ||
<children> | ||
<ImageView fx:id="imageView" fitHeight="75.0" fitWidth="100.0" layoutX="14.0" layoutY="19.0" pickOnBounds="true" preserveRatio="true" AnchorPane.bottomAnchor="14.0" AnchorPane.leftAnchor="14.0" AnchorPane.topAnchor="14.0" /> | ||
<Button layoutX="614.0" layoutY="38.0" mnemonicParsing="false" onAction="#handleAddAction" text="Lägg till" AnchorPane.rightAnchor="14.0" /> | ||
<Label fx:id="nameLabel" layoutX="133.0" layoutY="14.0" text="Mellanmjök fin produkt för allt möjligt" AnchorPane.leftAnchor="133.0"> | ||
<ImageView fx:id="imageView" fitHeight="44.0" fitWidth="62.0" layoutX="6.0" layoutY="11.0" pickOnBounds="true" preserveRatio="true" AnchorPane.bottomAnchor="11.0" AnchorPane.leftAnchor="6.0" AnchorPane.topAnchor="11.0"> | ||
<image> | ||
<Image url="@../../../../.dat215/imat/images/product_1.jpg" /> | ||
</image></ImageView> | ||
<Label fx:id="nameLabel" layoutX="72.0" layoutY="9.0" prefHeight="19.0" prefWidth="82.0" text="Mellanmjök fin produkt för allt möjligt" AnchorPane.leftAnchor="72.0"> | ||
<font> | ||
<Font size="18.0" /> | ||
<Font size="16.0" /> | ||
</font> | ||
</Label> | ||
<Label fx:id="prizeLabel" layoutX="133.0" layoutY="57.0" text="437,50 per förpackning" /> | ||
<Label fx:id="ecoLabel" layoutX="528.0" layoutY="57.0" text="Ekologisk" textFill="#5cc343"> | ||
<Label fx:id="prizeLabel" layoutX="246.0" layoutY="22.0" prefHeight="18.0" prefWidth="58.0" text="437,50 per förpackning"> | ||
<font> | ||
<Font name="System Bold" size="13.0" /> | ||
<Font size="16.0" /> | ||
</font></Label> | ||
<ImageView fitHeight="18.0" fitWidth="18.0" layoutX="71.0" layoutY="39.0" pickOnBounds="true" preserveRatio="true"> | ||
<image> | ||
<Image url="@../../../Bilder%20till%20iMat/minus.png" /> | ||
</image> | ||
</ImageView> | ||
<ImageView fitHeight="20.0" fitWidth="19.0" layoutX="134.0" layoutY="39.0" pickOnBounds="true" preserveRatio="true"> | ||
<image> | ||
<Image url="@../../../Bilder%20till%20iMat/minus.png" /> | ||
</image> | ||
</ImageView> | ||
<TextField layoutX="95.0" layoutY="35.0" prefHeight="26.0" prefWidth="32.0" /> | ||
</children> | ||
</fx:root> |