-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #1738
- Loading branch information
Showing
7 changed files
with
25 additions
and
186 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,18 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<?import com.jfoenix.controls.JFXButton?> | ||
<?import com.jfoenix.controls.JFXListView?> | ||
<?import com.jfoenix.controls.JFXSpinner?> | ||
<?import javafx.scene.control.Label?> | ||
<?import javafx.scene.control.SplitPane?> | ||
<?import javafx.scene.layout.AnchorPane?> | ||
<?import javafx.scene.layout.HBox?> | ||
<?import javafx.scene.web.WebView?> | ||
<HBox xmlns:fx="http://javafx.com/fxml/1" fx:id="newsRoot" alignment="CENTER" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0" xmlns="http://javafx.com/javafx/8.0.141" fx:controller="com.faforever.client.news.NewsController"> | ||
<?import javafx.scene.layout.StackPane?> | ||
<StackPane xmlns:fx="http://javafx.com/fxml/1" fx:id="newsRoot" alignment="CENTER" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0" xmlns="http://javafx.com/javafx/8.0.141" fx:controller="com.faforever.client.news.NewsController"> | ||
<children> | ||
<SplitPane dividerPositions="0.2" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" HBox.hgrow="ALWAYS"> | ||
<items> | ||
<JFXListView fx:id="newsListView" styleClass="news-list" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minWidth="100.0" prefWidth="240.0" /> | ||
<AnchorPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308"> | ||
<children> | ||
<WebView fx:id="newsDetailWebView" prefHeight="-1.0" prefWidth="-1.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" /> | ||
<JFXButton fx:id="showLadderMapsButton" onAction="#showLadderMaps" text="%news.showLadderMaps" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" /> | ||
</children> | ||
</AnchorPane> | ||
</items> | ||
</SplitPane> | ||
<WebView fx:id="newsWebView" prefHeight="-1.0" prefWidth="-1.0"/> | ||
<Label fx:id="loadingIndicator" contentDisplay="TOP" text="%loading" HBox.hgrow="ALWAYS"> | ||
<graphic> | ||
<JFXSpinner maxHeight="80.0" maxWidth="80.0" /> | ||
<JFXSpinner maxHeight="80.0" maxWidth="80.0"/> | ||
</graphic> | ||
</Label> | ||
</children> | ||
</HBox> | ||
</StackPane> |
This file was deleted.
Oops, something went wrong.