smaller text size for path in reveal button [ci skip]

This commit is contained in:
Tobias Hagemann
2019-11-26 17:02:13 +01:00
parent 5d0a1fd49f
commit 44e97ab046
3 changed files with 13 additions and 5 deletions

View File

@@ -117,6 +117,10 @@
-fx-font-size: 0.8em;
}
.label-extra-small {
-fx-font-size: 0.64em;
}
.text-flow > * {
-fx-fill: TEXT_FILL;
}

View File

@@ -117,6 +117,10 @@
-fx-font-size: 0.8em;
}
.label-extra-small {
-fx-font-size: 0.64em;
}
.text-flow > * {
-fx-fill: TEXT_FILL;
}

View File

@@ -1,10 +1,10 @@
<?import javafx.scene.layout.HBox?>
<?import org.cryptomator.ui.controls.FontAwesome5IconView?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.Tooltip?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.Region?>
<?import javafx.scene.layout.VBox?>
<?import org.cryptomator.ui.controls.FontAwesome5IconView?>
<?import org.cryptomator.ui.controls.ThrougputLabel?>
<VBox xmlns="http://javafx.com/javafx"
xmlns:fx="http://javafx.com/fxml"
@@ -18,7 +18,7 @@
<FontAwesome5IconView glyph="HDD" glyphSize="24"/>
<VBox spacing="4" alignment="CENTER_LEFT">
<Label text="%main.vaultDetail.revealBtn"/>
<Label styleClass="label-small" text="${controller.vault.accessPoint}" textOverrun="CENTER_ELLIPSIS"/>
<Label styleClass="label-extra-small" text="${controller.vault.accessPoint}" textOverrun="CENTER_ELLIPSIS"/>
</VBox>
</HBox>
</graphic>