Polish logo badges
This commit is contained in:
@@ -7,7 +7,9 @@
|
|||||||
<?import javafx.scene.control.TextField?>
|
<?import javafx.scene.control.TextField?>
|
||||||
<?import javafx.scene.image.Image?>
|
<?import javafx.scene.image.Image?>
|
||||||
<?import javafx.scene.image.ImageView?>
|
<?import javafx.scene.image.ImageView?>
|
||||||
|
<?import javafx.scene.layout.StackPane?>
|
||||||
<?import javafx.scene.layout.VBox?>
|
<?import javafx.scene.layout.VBox?>
|
||||||
|
<?import javafx.scene.shape.Circle?>
|
||||||
<?import javafx.scene.text.Font?>
|
<?import javafx.scene.text.Font?>
|
||||||
|
|
||||||
<VBox alignment="CENTER" prefHeight="420.0" prefWidth="380.0" spacing="16.0"
|
<VBox alignment="CENTER" prefHeight="420.0" prefWidth="380.0" spacing="16.0"
|
||||||
@@ -19,14 +21,20 @@
|
|||||||
<Insets bottom="40.0" left="50.0" right="50.0" top="40.0" />
|
<Insets bottom="40.0" left="50.0" right="50.0" top="40.0" />
|
||||||
</padding>
|
</padding>
|
||||||
<children>
|
<children>
|
||||||
|
<StackPane>
|
||||||
|
<children>
|
||||||
|
<Circle fill="#f8fafc" radius="94.0" stroke="#d7dee8" strokeWidth="1.5" />
|
||||||
<ImageView fitHeight="180.0" fitWidth="320.0" preserveRatio="true">
|
<ImageView fitHeight="180.0" fitWidth="320.0" preserveRatio="true">
|
||||||
<image>
|
<image>
|
||||||
<Image url="@images/leons-pet-store-badge-text.png" />
|
<Image url="@images/leons-pet-store-badge-text.png" />
|
||||||
</image>
|
</image>
|
||||||
|
</ImageView>
|
||||||
|
</children>
|
||||||
|
<style>-fx-effect: dropshadow(gaussian, rgba(15,23,42,0.22), 22, 0.18, 0, 8);</style>
|
||||||
<VBox.margin>
|
<VBox.margin>
|
||||||
<Insets bottom="35.0" />
|
<Insets bottom="35.0" />
|
||||||
</VBox.margin>
|
</VBox.margin>
|
||||||
</ImageView>
|
</StackPane>
|
||||||
|
|
||||||
<Label text="Username" textFill="#cccccc">
|
<Label text="Username" textFill="#cccccc">
|
||||||
<font>
|
<font>
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
<?import javafx.scene.layout.HBox?>
|
<?import javafx.scene.layout.HBox?>
|
||||||
<?import javafx.scene.layout.StackPane?>
|
<?import javafx.scene.layout.StackPane?>
|
||||||
<?import javafx.scene.layout.VBox?>
|
<?import javafx.scene.layout.VBox?>
|
||||||
|
<?import javafx.scene.shape.Circle?>
|
||||||
<?import javafx.scene.text.Font?>
|
<?import javafx.scene.text.Font?>
|
||||||
|
|
||||||
<BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="742.0" prefWidth="1069.0" xmlns="http://javafx.com/javafx/17" xmlns:fx="http://javafx.com/fxml/1" fx:controller="org.example.petshopdesktop.controllers.MainLayoutController">
|
<BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="742.0" prefWidth="1069.0" xmlns="http://javafx.com/javafx/17" xmlns:fx="http://javafx.com/fxml/1" fx:controller="org.example.petshopdesktop.controllers.MainLayoutController">
|
||||||
@@ -23,11 +24,16 @@
|
|||||||
</padding>
|
</padding>
|
||||||
<children>
|
<children>
|
||||||
<HBox alignment="CENTER">
|
<HBox alignment="CENTER">
|
||||||
<ImageView fx:id="imgLogo" fitHeight="90.0" fitWidth="90.0" preserveRatio="true" onMouseClicked="#logoClicked" style="-fx-cursor: hand;">
|
<StackPane onMouseClicked="#logoClicked" style="-fx-cursor: hand; -fx-effect: dropshadow(gaussian, rgba(15,23,42,0.22), 18, 0.16, 0, 6);">
|
||||||
|
<children>
|
||||||
|
<Circle fill="#f8fafc" radius="52.0" stroke="#d7dee8" strokeWidth="1.2" />
|
||||||
|
<ImageView fx:id="imgLogo" fitHeight="90.0" fitWidth="90.0" preserveRatio="true">
|
||||||
<image>
|
<image>
|
||||||
<Image url="@images/leons-pet-store-badge.png" />
|
<Image url="@images/leons-pet-store-badge.png" />
|
||||||
</image>
|
</image>
|
||||||
</ImageView>
|
</ImageView>
|
||||||
|
</children>
|
||||||
|
</StackPane>
|
||||||
<VBox.margin>
|
<VBox.margin>
|
||||||
<Insets bottom="15.0" />
|
<Insets bottom="15.0" />
|
||||||
</VBox.margin>
|
</VBox.margin>
|
||||||
|
|||||||
Reference in New Issue
Block a user