Fix logo layout

This commit is contained in:
2026-03-11 09:10:48 -06:00
parent aba24aae49
commit 33674fc6a6
2 changed files with 3 additions and 3 deletions

View File

@@ -20,9 +20,9 @@
<Insets bottom="40.0" left="50.0" right="50.0" top="40.0" />
</padding>
<children>
<StackPane style="-fx-background-color: #f8fafc; -fx-background-radius: 999; -fx-padding: 12; -fx-border-color: #d7dee8; -fx-border-radius: 999; -fx-border-width: 1;">
<StackPane maxWidth="220.0" maxHeight="220.0" prefWidth="220.0" prefHeight="220.0" style="-fx-background-color: #f8fafc; -fx-background-radius: 999; -fx-padding: 12; -fx-border-color: #d7dee8; -fx-border-radius: 999; -fx-border-width: 1;">
<children>
<ImageView fitHeight="180.0" fitWidth="320.0" preserveRatio="true" smooth="true">
<ImageView fitHeight="180.0" fitWidth="180.0" preserveRatio="true" smooth="true">
<image>
<Image url="@images/leons-pet-store-badge-text.png" />
</image>

View File

@@ -23,7 +23,7 @@
</padding>
<children>
<HBox alignment="CENTER">
<StackPane onMouseClicked="#logoClicked" style="-fx-cursor: hand; -fx-effect: dropshadow(gaussian, rgba(15,23,42,0.22), 18, 0.16, 0, 6); -fx-background-color: #f8fafc; -fx-background-radius: 999; -fx-padding: 8; -fx-border-color: #d7dee8; -fx-border-radius: 999; -fx-border-width: 1;">
<StackPane maxWidth="106.0" maxHeight="106.0" prefWidth="106.0" prefHeight="106.0" onMouseClicked="#logoClicked" style="-fx-cursor: hand; -fx-effect: dropshadow(gaussian, rgba(15,23,42,0.22), 18, 0.16, 0, 6); -fx-background-color: #f8fafc; -fx-background-radius: 999; -fx-padding: 8; -fx-border-color: #d7dee8; -fx-border-radius: 999; -fx-border-width: 1;">
<children>
<ImageView fx:id="imgLogo" fitHeight="90.0" fitWidth="90.0" preserveRatio="true" smooth="true">
<image>