Files
minbrowser/src/main/resources/fxml/NavigationBarOverview.fxml
T

31 lines
1.7 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.web.*?>
<?import javafx.geometry.*?>
<?import javafx.scene.image.*?>
<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<AnchorPane prefHeight="768.0" prefWidth="1366.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="cn.minbrowser.view.NavigationBarController">
<children>
<ToolBar prefHeight="44.0" prefWidth="1366.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<items>
<Button fx:id="backButton" mnemonicParsing="false" onAction="#backUrl" text="后退" textAlignment="CENTER" />
<Button fx:id="progressButton" mnemonicParsing="false" onAction="#progressUrl" text="前进 " textAlignment="CENTER" />
<Button fx:id="refreshButton" mnemonicParsing="false" onAction="#refreshUrl" text="刷新" textAlignment="RIGHT" />
<TextField fx:id="urlText" onKeyPressed="#loadUrl" prefHeight="30.0" prefWidth="1110.0" />
</items>
</ToolBar>
<ImageView fx:id="userPhoto" fitHeight="40.0" fitWidth="40.0" layoutX="1152.0" layoutY="-8.0" pickOnBounds="true" preserveRatio="true" AnchorPane.rightAnchor="30.0" AnchorPane.topAnchor="1.0">
<image>
<Image url="@../../../../resources/images/user.png" />
</image>
</ImageView>
<WebView fx:id="mainWebView" layoutX="22.0" layoutY="60.0" prefHeight="692.0" prefWidth="1282.0" AnchorPane.bottomAnchor="10.0" AnchorPane.leftAnchor="10.0" AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="50.0" />
</children>
</AnchorPane>