Center logo and make it clickable to navigate to Analytics
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
<?import javafx.scene.image.Image?>
|
||||
<?import javafx.scene.image.ImageView?>
|
||||
<?import javafx.scene.layout.BorderPane?>
|
||||
<?import javafx.scene.layout.HBox?>
|
||||
<?import javafx.scene.layout.Region?>
|
||||
<?import javafx.scene.layout.StackPane?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
@@ -21,14 +22,16 @@
|
||||
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
||||
</padding>
|
||||
<children>
|
||||
<ImageView fitHeight="90.0" fitWidth="90.0" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@images/leons-pet-store-badge.png" />
|
||||
</image>
|
||||
<HBox alignment="CENTER">
|
||||
<ImageView fx:id="imgLogo" fitHeight="90.0" fitWidth="90.0" preserveRatio="true" onMouseClicked="#logoClicked" style="-fx-cursor: hand;">
|
||||
<image>
|
||||
<Image url="@images/leons-pet-store-badge.png" />
|
||||
</image>
|
||||
</ImageView>
|
||||
<VBox.margin>
|
||||
<Insets bottom="15.0" />
|
||||
</VBox.margin>
|
||||
</ImageView>
|
||||
</HBox>
|
||||
<Label fx:id="lblUsername" text="Name" textFill="WHITE">
|
||||
<font>
|
||||
<Font name="System Bold" size="18.0" />
|
||||
|
||||
Reference in New Issue
Block a user