removed vbox id and renamed style

This commit is contained in:
Jan-Peter Klein 2024-07-01 18:19:30 +02:00
parent d58307d1d6
commit 902c66cf1e
No known key found for this signature in database
GPG Key ID: 90EDA3A7C822FD0E
4 changed files with 5 additions and 5 deletions

View File

@ -118,7 +118,7 @@ public class VaultListController implements FxController {
vaultList.maxHeightProperty().bind(vaultList.prefHeightProperty());
vaultList.prefWidthProperty().bind(scrollPane.widthProperty());
vbox.heightProperty().addListener((_, oldValue, newValue) -> {
scrollPane.heightProperty().addListener((_, oldValue, newValue) -> {
if(newValue.doubleValue()>oldValue.doubleValue()){
scrollPane.setVvalue(1.0);
}

View File

@ -341,7 +341,7 @@
-fx-background-color: CONTROL_BG_ARMED;
}
.vault-list-box {
.left-side-panel {
-fx-background-color: CONTROL_BG_NORMAL;
}

View File

@ -340,7 +340,7 @@
-fx-background-color: CONTROL_BG_ARMED;
}
.vault-list-box {
.left-side-panel {
-fx-background-color: CONTROL_BG_NORMAL;
}

View File

@ -16,9 +16,9 @@
fx:id="root"
fx:controller="org.cryptomator.ui.mainwindow.VaultListController"
minWidth="206">
<VBox styleClass="vault-list-box">
<VBox styleClass="left-side-panel">
<ScrollPane fx:id="scrollPane" hbarPolicy="NEVER">
<VBox fx:id="vbox">
<VBox>
<ListView fx:id="vaultList" editable="true" fixedCellSize="60">
<contextMenu>
<fx:include source="vault_list_contextmenu.fxml"/>