fixing labels and gui element positions

This commit is contained in:
infeo
2019-07-04 12:03:54 +02:00
parent ea1edb2320
commit fe7e9d84ca
2 changed files with 9 additions and 7 deletions

View File

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

View File

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