minor ui fixes

This commit is contained in:
Armin Schrenk
2021-07-19 18:03:28 +02:00
parent f907e2d033
commit 3df688236d
4 changed files with 5 additions and 4 deletions

View File

@@ -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;
}

View File

@@ -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?>

View File

@@ -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" >

View File

@@ -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