From 84284b25b17c37e2c71f7d1566649b467c9583e4 Mon Sep 17 00:00:00 2001 From: Peter <pt033@hdm-stuttgart.de> Date: Wed, 20 Dec 2023 21:41:33 +0100 Subject: [PATCH] update(easter egg): add little hint for meme videos #20 --- src/main/resources/fxml/MenuBorderPane.fxml | 6 +++++- src/main/resources/styles/style.css | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/main/resources/fxml/MenuBorderPane.fxml b/src/main/resources/fxml/MenuBorderPane.fxml index e9f78a6f..03549cf9 100644 --- a/src/main/resources/fxml/MenuBorderPane.fxml +++ b/src/main/resources/fxml/MenuBorderPane.fxml @@ -5,6 +5,7 @@ <?import javafx.scene.image.ImageView?> <?import javafx.scene.layout.BorderPane?> <?import javafx.scene.layout.StackPane?> +<?import javafx.scene.text.Font?> <BorderPane id="mainMenu" fx:id="parent" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/21" xmlns:fx="http://javafx.com/fxml/1" fx:controller="de.hdm_stuttgart.battlearena.Controller.MenuBorderPaneController"> <right> @@ -19,7 +20,7 @@ </Button> </right> <left> - <Button fx:id="btnLeft" mnemonicParsing="false" BorderPane.alignment="BOTTOM_CENTER"> + <Button fx:id="btnLeft" contentDisplay="TOP" mnemonicParsing="false" text=":)" BorderPane.alignment="BOTTOM_CENTER"> <graphic> <ImageView fx:id="imgLeft" fitHeight="904.0" fitWidth="856.0" pickOnBounds="true" preserveRatio="true"> <image> @@ -27,6 +28,9 @@ </image> </ImageView> </graphic> + <font> + <Font name="System Bold" size="30.0" /> + </font> </Button> </left> <center> diff --git a/src/main/resources/styles/style.css b/src/main/resources/styles/style.css index 2322b78e..94f586d3 100644 --- a/src/main/resources/styles/style.css +++ b/src/main/resources/styles/style.css @@ -24,6 +24,10 @@ -fx-skin: "de.hdm_stuttgart.battlearena.Controller.ButtonTransition"; } +#btnLeft { + -fx-skin: none; +} + .accordion { -fx-font-size: 30; } -- GitLab