Explorar o código

added wrap text to formatted labels

Tobias Hagemann %!s(int64=5) %!d(string=hai) anos
pai
achega
9b15254880

+ 1 - 1
main/ui/src/main/resources/fxml/preferences_updates.fxml

@@ -23,7 +23,7 @@
 				</graphic>
 			</Button>
 
-			<FormattedLabel format="%preferences.updates.updateAvailable" arg1="${controller.latestVersion}" textAlignment="CENTER" visible="${controller.updateAvailable}"/>
+			<FormattedLabel format="%preferences.updates.updateAvailable" arg1="${controller.latestVersion}" textAlignment="CENTER" wrapText="true" visible="${controller.updateAvailable}"/>
 		</VBox>
 	</children>
 </VBox>

+ 1 - 1
main/ui/src/main/resources/fxml/unlock2.fxml

@@ -20,7 +20,7 @@
 		<Insets bottom="12.0" left="12.0" right="12.0" top="12.0"/>
 	</padding>
 	<children>
-		<FormattedLabel format="%unlock.passwordPrompt" arg1="${controller.vault.displayableName}"/>
+		<FormattedLabel format="%unlock.passwordPrompt" arg1="${controller.vault.displayableName}" wrapText="true"/>
 		<SecPasswordField fx:id="passwordField"/>
 		<CheckBox fx:id="savePassword" text="%unlock.savePassword" onAction="#didClickSavePasswordCheckbox"/>
 

+ 1 - 1
main/ui/src/main/resources/fxml/unlock_success.fxml

@@ -31,7 +31,7 @@
 				<FontAwesome5IconView styleClass="glyph-icon-white" glyph="CHECK" glyphSize="24"/>
 			</StackPane>
 
-			<FormattedLabel format="%unlock.success.message" arg1="${controller.vault.displayableName}" wrapText="true" textAlignment="LEFT" HBox.hgrow="ALWAYS"/>
+			<FormattedLabel format="%unlock.success.message" arg1="${controller.vault.displayableName}" wrapText="true" HBox.hgrow="ALWAYS"/>
 		</HBox>
 
 		<Region VBox.vgrow="ALWAYS"/>