version 1.1
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import java.lang.String?>
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.control.MenuButton?>
|
||||
<?import javafx.scene.control.MenuItem?>
|
||||
<?import javafx.scene.image.Image?>
|
||||
<?import javafx.scene.image.ImageView?>
|
||||
<?import javafx.scene.layout.BorderPane?>
|
||||
<?import javafx.scene.layout.HBox?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
|
||||
<fx:root minHeight="480.0" minWidth="640.0" type="BorderPane" xmlns="http://javafx.com/javafx/8.0.65" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<top>
|
||||
<HBox id="menubar" alignment="CENTER_LEFT" BorderPane.alignment="CENTER_LEFT">
|
||||
<children>
|
||||
<ImageView fitHeight="28.0" fitWidth="28.0" pickOnBounds="true" preserveRatio="true" HBox.hgrow="NEVER">
|
||||
<image>
|
||||
<Image url="@../images/logo.png" />
|
||||
</image>
|
||||
<HBox.margin>
|
||||
<Insets left="5.0" />
|
||||
</HBox.margin>
|
||||
</ImageView>
|
||||
<Label alignment="TOP_CENTER" contentDisplay="CENTER" styleClass="title" text="%title">
|
||||
<padding>
|
||||
<Insets left="10.0" />
|
||||
</padding>
|
||||
</Label>
|
||||
<Pane maxWidth="1.7976931348623157E308" HBox.hgrow="ALWAYS" />
|
||||
<MenuButton fx:id="uiMenuButton" alignment="TOP_LEFT" mnemonicParsing="false" nodeOrientation="LEFT_TO_RIGHT">
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" onAction="#showPreferences" text="%preferences" />
|
||||
<MenuItem mnemonicParsing="false" onAction="#showRefDocuments" text="%ref-docs" />
|
||||
<MenuItem mnemonicParsing="false" onAction="#showAboutDialog" text="%about" />
|
||||
<MenuItem mnemonicParsing="false" onAction="#quit" text="%quit" />
|
||||
</items>
|
||||
<styleClass>
|
||||
<String fx:value="cursor-hand" />
|
||||
<String fx:value="rhom-menu-button" />
|
||||
</styleClass>
|
||||
<HBox.margin>
|
||||
<Insets />
|
||||
</HBox.margin>
|
||||
</MenuButton>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="2.0" left="5.0" right="5.0" top="2.0" />
|
||||
</padding>
|
||||
</HBox>
|
||||
</top>
|
||||
</fx:root>
|
||||
Reference in New Issue
Block a user