浏览代码

minor ui fixes

Armin Schrenk 3 年之前
父节点
当前提交
3df688236d

+ 1 - 1
src/main/java/org/cryptomator/ui/health/HealthCheckModule.java

@@ -92,7 +92,7 @@ abstract class HealthCheckModule {
 		Stage stage = factory.create();
 		stage.initModality(Modality.WINDOW_MODAL);
 		stage.initOwner(window);
-		stage.setTitle(String.format("TODO: Unlock \"%s\"", vault.getDisplayName()));
+		stage.setTitle(String.format(resourceBundle.getString("unlock.title"), vault.getDisplayName()));
 		stage.setResizable(false);
 		return stage;
 	}

+ 0 - 1
src/main/resources/fxml/health_check_details.fxml

@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
-<?import org.cryptomator.ui.controls.FormattedLabel?>
 <?import javafx.scene.control.Label?>
 <?import javafx.scene.control.ListView?>
 <?import javafx.scene.layout.VBox?>

+ 3 - 1
src/main/resources/fxml/health_result_listcell.fxml

@@ -19,7 +19,9 @@
 		<Insets topRightBottomLeft="6"/>
 	</padding>
 	<children>
-		<FontAwesome5IconView fx:id="severityView" HBox.hgrow="NEVER" glyphSize="16" glyph="${controller.severityGlyph}"/>
+		<StackPane minWidth="25" minHeight="25">
+			<FontAwesome5IconView fx:id="severityView" HBox.hgrow="NEVER" glyphSize="16" glyph="${controller.severityGlyph}"/>
+		</StackPane>
 		<Label text="${controller.description}"/>
 		<Region HBox.hgrow="ALWAYS"/>
 		<StackPane HBox.hgrow="NEVER" >

+ 1 - 1
src/main/resources/i18n/strings.properties

@@ -96,7 +96,7 @@ forgetPassword.information=This will delete the saved password of this vault fro
 forgetPassword.confirmBtn=Forget Password
 
 # Unlock
-unlock.title=Unlock Vault
+unlock.title=Unlock "%s"
 unlock.passwordPrompt=Enter password for "%s":
 unlock.savePassword=Remember Password
 unlock.unlockBtn=Unlock