more ui alignments

This commit is contained in:
Armin Schrenk
2021-05-19 13:18:54 +02:00
parent ca0402aaf0
commit 432be6dd80
2 changed files with 6 additions and 8 deletions

View File

@@ -11,9 +11,9 @@
spacing="6">
<Label fx:id="checkTitle" styleClass="label-large" text="${controller.taskName}"/>
<Text fx:id="checkDescription" styleClass="label" text="${controller.taskDescription}"/>
<TableView fx:id="resultsTableView" visible="${controller.producingResults}" managed="${controller.producingResults}">
<TableView fx:id="resultsTableView" visible="${controller.producingResults}" managed="${controller.producingResults}" VBox.vgrow="ALWAYS">
<columns>
<TableColumn fx:id="resultDescriptionColumn" text="Info" editable="false" maxWidth="Infinity"/>
<TableColumn fx:id="resultDescriptionColumn" text="Info" editable="false" maxWidth="Infinity" />
<TableColumn fx:id="resultSeverityColumn" text="Severity" editable="false" />
<TableColumn fx:id="resultActionColumn" text="Action" editable="false"/>
</columns>

View File

@@ -25,12 +25,10 @@
<ListView fx:id="checksListView" VBox.vgrow="ALWAYS"/>
</VBox>
<!-- Maybe use class Seperator ?-->
<StackPane HBox.hgrow="ALWAYS">
<VBox minWidth="300" alignment="CENTER">
<Label text="TODO: Select a Check from the left list to get more info." wrapText="true" alignment="CENTER" visible="${!controller.anyCheckSelected}" />
</VBox>
<fx:include source="/fxml/health_check_details.fxml" visible="${controller.anyCheckSelected}" />
</StackPane>
<VBox minWidth="300" alignment="CENTER" HBox.hgrow="ALWAYS" visible="${!controller.anyCheckSelected}" managed="${!controller.anyCheckSelected}" >
<Label text="TODO: Select a Check from the left list to get more info." wrapText="true" alignment="CENTER" />
</VBox>
<fx:include source="/fxml/health_check_details.fxml" visible="${controller.anyCheckSelected}" managed="${controller.anyCheckSelected}" HBox.hgrow="ALWAYS" />
</HBox>
<ButtonBar buttonMinWidth="120" buttonOrder="+CX">
<buttons>