feat: refactor the element tree to make inline recipe name change possible

This commit is contained in:
Zhongheng Liu 2025-12-04 13:32:32 +01:00
commit 805c8fd6ea
Signed by: steven
GPG key ID: F69B980899C1C09D

View file

@ -101,17 +101,16 @@
<!-- CENTER: RECIPE DETAILS -->
<center>
<VBox spacing="20">
<VBox spacing="20" visible="false" fx:id="detailsScreen">
<padding>
<Insets bottom="10" left="10" right="10" top="10" />
</padding>
<!-- Recipe title row -->
<HBox spacing="10">
<Label fx:id="recipeNameLabel" text="Recipe Name">
<font>
<Font name="System Bold" size="14.0" />
</font></Label>
<HBox fx:id="editableTitleArea">
</HBox>
<Button fx:id="editRecipeTitleButton" onAction="#editRecipeTitle" text="Edit" />
<Button fx:id="RemoveRecipeButton2" mnemonicParsing="false" onAction="#removeSelectedRecipe" text="Remove Recipe" />
<Button fx:id="printRecipe" mnemonicParsing="false" onAction="#makePrintable" text="Print Recipe" />