Same window size for all screens, fix check list size

This commit is contained in:
Armin Schrenk
2021-07-12 10:51:58 +02:00
parent c0d552da92
commit f4c8fd26d3
4 changed files with 6 additions and 9 deletions

View File

@@ -8,7 +8,6 @@
<VBox xmlns:fx="http://javafx.com/fxml"
xmlns="http://javafx.com/javafx"
fx:controller="org.cryptomator.ui.health.CheckDetailController"
prefWidth="500"
spacing="6">
<FormattedLabel fx:id="checkTitle" styleClass="label-large" format="%health.check.detail.header" arg1="${controller.checkName}" contentDisplay="LEFT">
<graphic>

View File

@@ -27,13 +27,13 @@
<VBox minWidth="80" maxWidth="200" spacing="6" HBox.hgrow="ALWAYS" >
<Label fx:id="listHeading" text="%health.checkList.header"/>
<CheckBox onAction="#toggleSelectAll" text="%health.checkList.selectAllBox" visible="${!controller.mainRunStarted}" managed="${!controller.mainRunStarted}" />
<ListView fx:id="checksListView" VBox.vgrow="ALWAYS"/>
<ListView fx:id="checksListView" VBox.vgrow="ALWAYS" minWidth="150"/>
</VBox>
<StackPane visible="${controller.mainRunStarted}" managed="${controller.mainRunStarted}" HBox.hgrow="ALWAYS">
<VBox minWidth="300" alignment="CENTER" visible="${!controller.anyCheckSelected}" managed="${!controller.anyCheckSelected}" >
<Label text="%health.check.detail.noSelectedCheck" wrapText="true" alignment="CENTER" />
</VBox>
<fx:include source="/fxml/health_check_details.fxml" visible="${controller.anyCheckSelected}" managed="${controller.anyCheckSelected}" />
<fx:include source="/fxml/health_check_details.fxml" visible="${controller.anyCheckSelected}" managed="${controller.anyCheckSelected}" maxWidth="450"/>
</StackPane>
</HBox>
<ButtonBar buttonMinWidth="120" buttonOrder="+CX">

View File

@@ -12,9 +12,8 @@
<VBox xmlns:fx="http://javafx.com/fxml"
xmlns="http://javafx.com/javafx"
fx:controller="org.cryptomator.ui.health.StartController"
minWidth="400"
maxWidth="400"
minHeight="145"
prefWidth="600"
prefHeight="400"
spacing="12">
<padding>
<Insets topRightBottomLeft="12"/>

View File

@@ -5,9 +5,8 @@
<VBox xmlns="http://javafx.com/javafx"
xmlns:fx="http://javafx.com/fxml"
fx:controller="org.cryptomator.ui.health.StartFailController"
minWidth="400"
maxWidth="400"
minHeight="145"
prefWidth="600"
prefHeight="400"
spacing="12">
<Label text="TODO: Error on loading" />