removed green border and fixed margin for windows

This commit is contained in:
Jan-Peter Klein 2024-09-16 14:48:06 +02:00
parent 6ff640648f
commit 84e3cf0762
No known key found for this signature in database
GPG Key ID: 90EDA3A7C822FD0E
3 changed files with 7 additions and 11 deletions

View File

@ -177,8 +177,8 @@
/* windows needs an explicit border: */ /* windows needs an explicit border: */
.main-window.os-windows { .main-window.os-windows {
-fx-border-color: TITLE_BG; -fx-border-color: CONTROL_BORDER_NORMAL;
-fx-border-width: 1px; -fx-border-width: 1px 0 0 0;
} }
.main-window .button-bar { .main-window .button-bar {

View File

@ -8,7 +8,7 @@
fx:id="root" fx:id="root"
fx:controller="org.cryptomator.ui.mainwindow.MainWindowController" fx:controller="org.cryptomator.ui.mainwindow.MainWindowController"
styleClass="main-window"> styleClass="main-window">
<VBox minWidth="650"> <VBox minWidth="600">
<SplitPane dividerPositions="0.33" orientation="HORIZONTAL" VBox.vgrow="ALWAYS"> <SplitPane dividerPositions="0.33" orientation="HORIZONTAL" VBox.vgrow="ALWAYS">
<fx:include source="vault_list.fxml" SplitPane.resizableWithParent="false"/> <fx:include source="vault_list.fxml" SplitPane.resizableWithParent="false"/>
<fx:include source="vault_detail.fxml" SplitPane.resizableWithParent="true"/> <fx:include source="vault_detail.fxml" SplitPane.resizableWithParent="true"/>

View File

@ -32,22 +32,18 @@
</VBox> </VBox>
</StackPane> </StackPane>
<HBox styleClass="button-bar"> <HBox styleClass="button-bar">
<HBox fx:id="addVaultButton" spacing="12" onMouseClicked="#toggleMenu" styleClass="button-left"> <HBox fx:id="addVaultButton" onMouseClicked="#toggleMenu" styleClass="button-left" alignment="CENTER" minWidth="20">
<padding> <padding>
<Insets topRightBottomLeft="12"/> <Insets topRightBottomLeft="12"/>
</padding> </padding>
<VBox alignment="CENTER" minWidth="20"> <FontAwesome5IconView glyph="PLUS" HBox.hgrow="NEVER" glyphSize="16"/>
<FontAwesome5IconView glyph="PLUS" HBox.hgrow="NEVER" glyphSize="16"/>
</VBox>
</HBox> </HBox>
<Region HBox.hgrow="ALWAYS"/> <Region HBox.hgrow="ALWAYS"/>
<HBox spacing="12" onMouseClicked="#showPreferences" styleClass="button-right"> <HBox onMouseClicked="#showPreferences" styleClass="button-right" alignment="CENTER" minWidth="20">
<padding> <padding>
<Insets topRightBottomLeft="12"/> <Insets topRightBottomLeft="12"/>
</padding> </padding>
<VBox alignment="CENTER" minWidth="20"> <FontAwesome5IconView glyph="COG" HBox.hgrow="NEVER" glyphSize="16"/>
<FontAwesome5IconView glyph="COG" HBox.hgrow="NEVER" glyphSize="16"/>
</VBox>
</HBox> </HBox>
</HBox> </HBox>
</VBox> </VBox>