-
Notifications
You must be signed in to change notification settings - Fork 430
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from j-lum/remove-webview
Remove dependency on WebView
- Loading branch information
Showing
6 changed files
with
52 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,41 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<?import javafx.geometry.Insets?> | ||
<?import javafx.scene.Scene?> | ||
<?import javafx.scene.control.Button?> | ||
<?import javafx.scene.control.Label?> | ||
<?import javafx.scene.image.Image?> | ||
<?import javafx.scene.web.WebView?> | ||
<?import javafx.scene.layout.HBox?> | ||
<?import javafx.stage.Stage?> | ||
|
||
<!-- TODO: set a more appropriate initial size --> | ||
<fx:root type="javafx.stage.Stage" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" | ||
title="Help" maximized="true"> | ||
|
||
<fx:root maximized="true" title="Help" type="javafx.stage.Stage" xmlns="http://javafx.com/javafx/11" xmlns:fx="http://javafx.com/fxml/1"> | ||
<icons> | ||
<Image url="@/images/help_icon.png" /> | ||
</icons> | ||
<scene> | ||
<Scene> | ||
<WebView fx:id="browser" /> | ||
<HBox alignment="CENTER"> | ||
<children> | ||
<Label fx:id="helpMessage" text="Label"> | ||
<HBox.margin> | ||
<Insets right="5.0" /> | ||
</HBox.margin> | ||
</Label> | ||
<Button fx:id="copyButton" mnemonicParsing="false" onAction="#copyUrl" text="Copy URL"> | ||
<HBox.margin> | ||
<Insets left="5.0" /> | ||
</HBox.margin> | ||
</Button> | ||
</children> | ||
<opaqueInsets> | ||
<Insets bottom="10.0" left="5.0" right="10.0" top="5.0" /> | ||
</opaqueInsets> | ||
<padding> | ||
<Insets bottom="10.0" left="5.0" right="10.0" top="5.0" /> | ||
</padding> | ||
</HBox> | ||
</Scene> | ||
</scene> | ||
</fx:root> |