Update Network Simulator with new branding

This commit is contained in:
Andrius Dagys 2017-01-31 16:08:32 +00:00
parent 7f96b752d1
commit 6aa7e7a324
5 changed files with 4 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 907 KiB

After

Width:  |  Height:  |  Size: 414 KiB

View File

@ -225,14 +225,14 @@ internal class VisualiserView() {
styleChoice.value = displayStyle
val dropShadow = Pane().apply { styleClass += "drop-shadow-pane-horizontal"; minHeight = 8.0 }
val logoImage = ImageView(javaClass.getResource("R3 logo.png").toExternalForm())
val logoImage = ImageView(javaClass.getResource("Corda logo.png").toExternalForm())
logoImage.fitHeight = 65.0
logoImage.isPreserveRatio = true
val logoLabel = HBox(logoImage, VBox(
Label("D I S T R I B U T E D L E D G E R G R O U P").apply { styleClass += "dlg-label" },
val logoLabel = HBox(logoImage,
Label("Network Simulator").apply { styleClass += "logo-label" }
))
)
logoLabel.spacing = 10.0
logoLabel.alignment = Pos.CENTER_LEFT
HBox.setHgrow(logoLabel, Priority.ALWAYS)
logoLabel.setPrefSize(Region.USE_COMPUTED_SIZE, Region.USE_PREF_SIZE)
dateLabel = Label("").apply { styleClass += "date-label" }

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

View File

@ -170,7 +170,6 @@
.logo-label {
-fx-font-size: 40;
-fx-text-fill: slategray;
}
.date-label {