Skip to content

Commit

Permalink
#22 better icon
Browse files Browse the repository at this point in the history
  • Loading branch information
ylexus authored and ylexus committed Apr 25, 2020
1 parent 66c8e7d commit 1f9c159
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/main/resources/FolderSelector.fxml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
<?import javafx.scene.layout.*?>
<VBox xmlns:fx="http://javafx.com/fxml/1" fx:id="folderSelector" alignment="CENTER" onDragDropped="#folderSelectorOnDragDropped"
onDragEntered="#folderSelectorOnDragEnter" onDragExited="#folderSelectorOnDragExit" onDragOver="#folderSelectorOnDragOver" spacing="10.0"
stylesheets="@style.css" VBox.vgrow="ALWAYS" xmlns="http://javafx.com/javafx/10.0.2-internal"
stylesheets="@style.css"
VBox.vgrow="ALWAYS" xmlns="http://javafx.com/javafx/10.0.2-internal"
fx:controller="net.yudichev.googlephotosupload.ui.FolderSelectorControllerImpl">
<VBox alignment="CENTER" spacing="10.0" VBox.vgrow="ALWAYS">
<Label alignment="CENTER" contentDisplay="CENTER" text="%folderSelectorDragHereLabel" textAlignment="CENTER" wrapText="true"/>
Expand All @@ -17,11 +18,12 @@
<CheckBox fx:id="resumeCheckbox" mnemonicParsing="false" selected="true" text="%folderSelectorResumeCheckboxLabel"/>
<Label fx:id="alreadyUploadedLabel"/>
</FlowPane>
<HBox alignment="TOP_CENTER" spacing="5.0">
<ImageView fitWidth="20.0" pickOnBounds="true" preserveRatio="true">
<Image url="@info-icon-blue.png"/>
<HBox alignment="CENTER" spacing="5.0">
<ImageView fitWidth="20.0" pickOnBounds="true" preserveRatio="true" HBox.hgrow="SOMETIMES">
<Image url="@warning-icon.png"/>
</ImageView>
<Label contentDisplay="CENTER" styleClass="side-note" text="%googleStorageWarning" textAlignment="CENTER" wrapText="true">
<Label alignment="CENTER" contentDisplay="CENTER" styleClass="side-note" text="%googleStorageWarning" textAlignment="CENTER" wrapText="true"
HBox.hgrow="NEVER">
<opaqueInsets>
<Insets/>
</opaqueInsets>
Expand Down
Binary file removed src/main/resources/info-icon-blue.png
Binary file not shown.
Binary file added src/main/resources/warning-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1f9c159

Please sign in to comment.