Explorar o código

replaced glyph="CIRCLE" by circle.

Sebastian Stenzel %!s(int64=5) %!d(string=hai) anos
pai
achega
2f288dc92b

+ 2 - 1
main/ui/src/main/resources/fxml/remove_vault.fxml

@@ -7,6 +7,7 @@
 <?import javafx.scene.layout.Region?>
 <?import javafx.scene.layout.StackPane?>
 <?import javafx.scene.layout.VBox?>
+<?import javafx.scene.shape.Circle?>
 <?import org.cryptomator.ui.controls.FontAwesome5IconView?>
 <VBox xmlns="http://javafx.com/javafx"
 	  xmlns:fx="http://javafx.com/fxml"
@@ -25,7 +26,7 @@
 			<VBox.margin>
 				<Insets topRightBottomLeft="24"/>
 			</VBox.margin>
-			<FontAwesome5IconView styleClass="glyph-icon-primary" glyph="CIRCLE" glyphSize="64"/>
+			<Circle styleClass="glyph-icon-primary" radius="32"/>
 			<FontAwesome5IconView styleClass="glyph-icon-main-bg" glyph="QUESTION" glyphSize="32"/>
 		</StackPane>
 		<Label text="%removeVault.information" wrapText="true" labelFor="$confirmButton"/>

+ 2 - 1
main/ui/src/main/resources/fxml/vault_detail.fxml

@@ -11,6 +11,7 @@
 <?import javafx.scene.layout.VBox?>
 <?import org.cryptomator.ui.controls.FontAwesome5IconView?>
 <?import org.cryptomator.ui.controls.ThrougputLabel?>
+<?import javafx.scene.shape.Circle?>
 <VBox xmlns="http://javafx.com/javafx"
 	  xmlns:fx="http://javafx.com/fxml"
 	  fx:controller="org.cryptomator.ui.mainwindow.VaultDetailController"
@@ -27,7 +28,7 @@
 			</padding>
 			<children>
 				<StackPane alignment="CENTER">
-					<FontAwesome5IconView styleClass="glyph-icon-secondary" glyph="CIRCLE" HBox.hgrow="NEVER" glyphSize="32"/>
+					<Circle styleClass="glyph-icon-primary" radius="16"/>
 					<FontAwesome5IconView styleClass="glyph-icon-main-bg" glyph="${controller.glyph}" HBox.hgrow="NEVER" glyphSize="16"/>
 				</StackPane>
 				<VBox spacing="4" HBox.hgrow="ALWAYS">