mirror of
https://github.com/corda/corda.git
synced 2025-01-26 22:29:28 +00:00
Update Network Simulator with new branding
This commit is contained in:
parent
7f96b752d1
commit
6aa7e7a324
Binary file not shown.
Before Width: | Height: | Size: 907 KiB After Width: | Height: | Size: 414 KiB |
@ -225,14 +225,14 @@ internal class VisualiserView() {
|
|||||||
styleChoice.value = displayStyle
|
styleChoice.value = displayStyle
|
||||||
|
|
||||||
val dropShadow = Pane().apply { styleClass += "drop-shadow-pane-horizontal"; minHeight = 8.0 }
|
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.fitHeight = 65.0
|
||||||
logoImage.isPreserveRatio = true
|
logoImage.isPreserveRatio = true
|
||||||
val logoLabel = HBox(logoImage, VBox(
|
val logoLabel = HBox(logoImage,
|
||||||
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" },
|
|
||||||
Label("Network Simulator").apply { styleClass += "logo-label" }
|
Label("Network Simulator").apply { styleClass += "logo-label" }
|
||||||
))
|
)
|
||||||
logoLabel.spacing = 10.0
|
logoLabel.spacing = 10.0
|
||||||
|
logoLabel.alignment = Pos.CENTER_LEFT
|
||||||
HBox.setHgrow(logoLabel, Priority.ALWAYS)
|
HBox.setHgrow(logoLabel, Priority.ALWAYS)
|
||||||
logoLabel.setPrefSize(Region.USE_COMPUTED_SIZE, Region.USE_PREF_SIZE)
|
logoLabel.setPrefSize(Region.USE_COMPUTED_SIZE, Region.USE_PREF_SIZE)
|
||||||
dateLabel = Label("").apply { styleClass += "date-label" }
|
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 |
@ -170,7 +170,6 @@
|
|||||||
|
|
||||||
.logo-label {
|
.logo-label {
|
||||||
-fx-font-size: 40;
|
-fx-font-size: 40;
|
||||||
-fx-text-fill: slategray;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.date-label {
|
.date-label {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user