mirror of
https://github.com/cryptomator/cryptomator.git
synced 2024-11-23 12:09:45 +00:00
removed vbox id and renamed style
This commit is contained in:
parent
d58307d1d6
commit
902c66cf1e
@ -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);
|
||||
}
|
||||
|
@ -341,7 +341,7 @@
|
||||
-fx-background-color: CONTROL_BG_ARMED;
|
||||
}
|
||||
|
||||
.vault-list-box {
|
||||
.left-side-panel {
|
||||
-fx-background-color: CONTROL_BG_NORMAL;
|
||||
}
|
||||
|
||||
|
@ -340,7 +340,7 @@
|
||||
-fx-background-color: CONTROL_BG_ARMED;
|
||||
}
|
||||
|
||||
.vault-list-box {
|
||||
.left-side-panel {
|
||||
-fx-background-color: CONTROL_BG_NORMAL;
|
||||
}
|
||||
|
||||
|
@ -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"/>
|
||||
|
Loading…
Reference in New Issue
Block a user