Pārlūkot izejas kodu

fixing labels and gui element positions

infeo 6 gadi atpakaļ
vecāks
revīzija
fe7e9d84ca

+ 8 - 6
main/ui/src/main/resources/fxml/unlock.fxml

@@ -77,25 +77,27 @@
 
 		<!-- Custom Mount Point -->
 		<CheckBox fx:id="useCustomMountPoint" text="%unlock.label.useOwnMountPath"/>
-		<HBox fx:id="customMountPoint" spacing="6" alignment="BASELINE_LEFT">
+		<HBox fx:id="customMountPoint" spacing="6" alignment="BASELINE_LEFT" >
 			<padding>
 				<Insets left="20.0"/>
+				<Insets bottom="-19.0"/>
 			</padding>
 			<Label HBox.hgrow="ALWAYS" fx:id="customMountPointLabel" textOverrun="LEADING_ELLIPSIS"/>
 			<Button HBox.hgrow="NEVER" minWidth="-Infinity" text="&#xf434;" styleClass="ionicons" onAction="#didClickChooseCustomMountPoint" focusTraversable="true"/>
 		</HBox>
 
+		<!-- Windows Drive Letter -->
+		<HBox spacing="12" alignment="BASELINE_LEFT">
+			<CheckBox fx:id="useCustomWinDriveLetter" text="%unlock.label.winDriveLetter" onAction="#didClickCustomWinDriveLetterCheckbox"/>
+			<ChoiceBox fx:id="winDriveLetter" HBox.hgrow="NEVER" maxWidth="Infinity"/>
+		</HBox>
+
 		<!-- Mount Flags -->
 		<HBox spacing="12" alignment="BASELINE_LEFT">
 			<CheckBox fx:id="useCustomMountFlags" text="%unlock.label.useCustomMountFlags"/>
 			<TextField fx:id="mountFlags" HBox.hgrow="ALWAYS" maxWidth="Infinity"/>
 		</HBox>
 
-		<!-- Windows Drive Letter -->
-		<HBox spacing="12" alignment="BASELINE_LEFT">
-			<CheckBox fx:id="useCustomWinDriveLetter" text="%unlock.label.winDriveLetter" onAction="#didClickCustomWinDriveLetterCheckbox"/>
-			<ChoiceBox fx:id="winDriveLetter" HBox.hgrow="NEVER" maxWidth="Infinity"/>
-		</HBox>
 	</VBox>
 
 </VBox>

+ 1 - 1
main/ui/src/main/resources/localization/en.txt

@@ -78,7 +78,7 @@ unlock.label.useCustomMountFlags=Custom Mount Flags
 unlock.label.unlockAfterStartup=Auto-Unlock on Start (Experimental)
 unlock.label.revealAfterMount=Reveal Drive
 unlock.label.useReadOnlyMode=Read-Only
-unlock.label.winDriveLetter=Drive Letter
+unlock.label.winDriveLetter=Curstom Drive Letter
 unlock.label.useOwnMountPath=Custom Mount Point
 unlock.label.chooseMountPath=Choose empty directory…
 unlock.label.downloadsPageLink=All Cryptomator versions