瀏覽代碼

TextArea needs a prefRowCount, otherwise it attempts to use all available space, displacing other elements.
fixes #1012

Sebastian Stenzel 5 年之前
父節點
當前提交
28d58922e3
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      main/ui/src/main/resources/fxml/addvault_new_recoverykey.fxml

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

@@ -23,7 +23,7 @@
 
 		<Label text="%addvaultwizard.new.recoveryKeyInstruction" wrapText="true"/>
 
-		<TextArea editable="false" text="${controller.recoveryKey}" wrapText="true"/>
+		<TextArea editable="false" text="${controller.recoveryKey}" wrapText="true" prefRowCount="6"/>
 
 		<CheckBox fx:id="finalConfirmationCheckbox" text="%addvaultwizard.new.recoveryKeySavedCheckbox" wrapText="true"/>