Skip to content
Snippets Groups Projects
Commit 431f2860 authored by Tobias Ullerich's avatar Tobias Ullerich
Browse files

Remove icons in update tab

parent e686c089
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,6 @@ import javafx.application.Platform;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.*;
import javafx.scene.image.ImageView;
import java.io.IOException;
......@@ -43,11 +42,6 @@ public class UpdateTabViewController extends GlobalSettingsTabViewController {
@FXML
private ComboBox<UpdateService.RepositoryType> updateChannelComboBox;
@FXML
private Label infoCLabel;
@FXML
private Label infoELabel;
// Placeholder for List
private ProgressIndicator progressIndicator;
private Label placeholderLabel;
......@@ -81,9 +75,6 @@ public class UpdateTabViewController extends GlobalSettingsTabViewController {
globalSettings.setUpdateChannel(c);
});
infoCLabel.setGraphic(new ImageView("gfx/class_obj.png"));
infoELabel.setGraphic(new ImageView("gfx/enum_obj.png"));
progressIndicator = new ProgressIndicator(-1);
progressIndicator.setMinSize(75, 75);
progressIndicator.setMaxSize(75, 75);
......
PlayWall/src/main/resources/gfx/class_obj.png

628 B

PlayWall/src/main/resources/gfx/enum_obj.png

504 B

......@@ -3,22 +3,19 @@
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<VBox spacing="14.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1">
<VBox spacing="14.0" xmlns="http://javafx.com/javafx/8.0.141" xmlns:fx="http://javafx.com/fxml/1">
<children>
<HBox layoutX="14.0" layoutY="14.0" spacing="14.0">
<children>
<Label alignment="CENTER_RIGHT" layoutX="14.0" layoutY="14.0" prefWidth="150.0"
text="%settings.update.label.current"/>
<Label alignment="CENTER_RIGHT" layoutX="14.0" layoutY="14.0" prefWidth="150.0" text="%settings.update.label.current" />
<Label fx:id="currentVersionLabel" layoutX="175.0" layoutY="14.0" text="5.0.1 (stable)" />
</children>
</HBox>
<Separator prefWidth="200.0" />
<HBox spacing="14.0">
<children>
<Label alignment="CENTER_RIGHT" layoutX="106.0" layoutY="183.0" prefWidth="150.0"
text="%settings.update.label.search"/>
<CheckBox fx:id="automaticSearchCheckBox" layoutX="275.0" layoutY="183.0" mnemonicParsing="false"
text="Automatisch"/>
<Label alignment="CENTER_RIGHT" layoutX="106.0" layoutY="183.0" prefWidth="150.0" text="%settings.update.label.search" />
<CheckBox fx:id="automaticSearchCheckBox" layoutX="275.0" layoutY="183.0" mnemonicParsing="false" text="Automatisch" />
</children>
</HBox>
<HBox alignment="CENTER_LEFT" spacing="14.0">
......@@ -30,8 +27,7 @@
<HBox spacing="14.0">
<children>
<Label alignment="CENTER_RIGHT" layoutX="106.0" layoutY="222.0" prefWidth="150.0" />
<Button fx:id="manualSearchButton" layoutX="275.0" layoutY="217.0" mnemonicParsing="false"
onAction="#manualSearchHandler" text="%settings.update.button.search"/>
<Button fx:id="manualSearchButton" layoutX="275.0" layoutY="217.0" mnemonicParsing="false" onAction="#manualSearchHandler" text="%settings.update.button.search" />
</children>
</HBox>
<Separator prefWidth="200.0" />
......@@ -41,20 +37,13 @@
<VBox spacing="14.0" HBox.hgrow="ALWAYS">
<children>
<ListView fx:id="openUpdateList" prefHeight="200.0" prefWidth="200.0" HBox.hgrow="ALWAYS" />
<HBox spacing="14.0">
<children>
<Label fx:id="infoCLabel" text="%settings.update.label.infoC"/>
<Label fx:id="infoELabel" text="%settings.update.label.infoE"/>
</children>
</HBox>
</children>
</VBox>
</children>
</HBox>
<HBox alignment="TOP_RIGHT">
<children>
<Button fx:id="updateButton" mnemonicParsing="false" onAction="#updateHandler"
text="%settings.update.button.install"/>
<Button fx:id="updateButton" mnemonicParsing="false" onAction="#updateHandler" text="%settings.update.button.install" />
</children>
</HBox>
</children>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment