Skip to content
Snippets Groups Projects
Commit 8ba3c8a2 authored by Dirksmöller Karin's avatar Dirksmöller Karin
Browse files

new sound button on headder

parent 58806993
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.*?>
<?import javafx.scene.Cursor?>
<?import javafx.scene.Group?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.MenuButton?>
<?import javafx.scene.control.MenuItem?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.image.Image?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.*?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.text.Font?>
<AnchorPane prefHeight="41.0" prefWidth="600.0" style="-fx-background-color: transparent;"
xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1"
fx:controller="mi.hdm.controllers.components.HeaderController">
<MenuButton alignment="TOP_LEFT" contentDisplay="GRAPHIC_ONLY" graphicTextGap="0.0" mnemonicParsing="false"
style="-fx-background-color: transparent; -fx-padding: 7;" textFill="TRANSPARENT"
AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="0.0">
<AnchorPane prefHeight="41.0" prefWidth="600.0" style="-fx-background-color: transparent;" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="mi.hdm.controllers.components.HeaderController">
<MenuButton alignment="TOP_LEFT" contentDisplay="GRAPHIC_ONLY" graphicTextGap="0.0" mnemonicParsing="false" style="-fx-background-color: transparent; -fx-padding: 7;" textFill="TRANSPARENT" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="0.0">
<items>
<MenuItem mnemonicParsing="false" onAction="#changeSceneToHome" text="Home"/>
<MenuItem mnemonicParsing="false" onAction="#changeSceneToMealPlan" text="Meal Plan"/>
<MenuItem mnemonicParsing="false" onAction="#changeSceneToShoppingList" text="Shopping List"/>
<MenuItem mnemonicParsing="false" onAction="#changeSceneToIngredientCreator" text="Ingredient Creator"/>
<MenuItem mnemonicParsing="false" onAction="#changeSceneToCategoryCreator" text="Category Creator"/>
<MenuItem mnemonicParsing="false" onAction="#changeSceneToHome" text="Home" />
<MenuItem mnemonicParsing="false" onAction="#changeSceneToMealPlan" text="Meal Plan" />
<MenuItem mnemonicParsing="false" onAction="#changeSceneToShoppingList" text="Shopping List" />
<MenuItem mnemonicParsing="false" onAction="#changeSceneToIngredientCreator" text="Ingredient Creator" />
<MenuItem mnemonicParsing="false" onAction="#changeSceneToCategoryCreator" text="Category Creator" />
</items>
<graphic>
<ImageView fitHeight="36.0" fitWidth="47.0" pickOnBounds="true" preserveRatio="true">
......@@ -41,4 +41,16 @@
</cursor>
</ImageView>
</Group>
<Button layoutX="368.0" layoutY="8.0" mnemonicParsing="false" prefHeight="33.0" prefWidth="39.0" style="-fx-background-color: transparent;" text="Button" textAlignment="RIGHT" AnchorPane.rightAnchor="193.0" AnchorPane.topAnchor="8.0">
<graphic>
<ImageView fitHeight="30.0" fitWidth="34.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../../images/Tasty_Pages_sound_on.png" />
</image>
</ImageView>
</graphic>
<font>
<Font size="1.3E-4" />
</font>
</Button>
</AnchorPane>
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