Archived
0

use SplitPane in powerplay view

This commit is contained in:
iMoHax
2016-12-07 14:14:17 +03:00
parent f2957d06ba
commit d479e86500

View File

@@ -88,8 +88,8 @@
<MasterDetailPane fx:id="resultPane" detailSide="RIGHT" prefWidth="1190" dividerPosition="0.566" showDetailNode="false" VBox.vgrow="ALWAYS"> <MasterDetailPane fx:id="resultPane" detailSide="RIGHT" prefWidth="1190" dividerPosition="0.566" showDetailNode="false" VBox.vgrow="ALWAYS">
<masterNode> <masterNode>
<TitledPane text="%powerplay.result.title" collapsible="false"> <TitledPane text="%powerplay.result.title" collapsible="false">
<VBox spacing="4" padding="$tablePadding"> <SplitPane padding="$tablePadding" dividerPositions="0.9" orientation="VERTICAL">
<TableView fx:id="tblResults" VBox.vgrow="ALWAYS"> <TableView fx:id="tblResults" VBox.vgrow="ALWAYS">
<columns> <columns>
<TableColumn prefWidth="150" text="%market.system"> <TableColumn prefWidth="150" text="%market.system">
<cellValueFactory><PropertyValueFactory property="name"/></cellValueFactory> <cellValueFactory><PropertyValueFactory property="name"/></cellValueFactory>
@@ -148,19 +148,19 @@
<TableView fx:constant="UNCONSTRAINED_RESIZE_POLICY"/> <TableView fx:constant="UNCONSTRAINED_RESIZE_POLICY"/>
</columnResizePolicy> </columnResizePolicy>
<contextMenu><fx:reference source="ctxMenu"/></contextMenu> <contextMenu><fx:reference source="ctxMenu"/></contextMenu>
</TableView> </TableView>
<ScrollPane minHeight="50"> <ScrollPane minHeight="50">
<VBox spacing="4" padding="$summPadding"> <VBox spacing="4" padding="$summPadding">
<HBox spacing="4"><Label fx:id="resultCCSumm" wrapText="true"/></HBox> <HBox spacing="4"><Label fx:id="resultCCSumm" wrapText="true"/></HBox>
</VBox> </VBox>
</ScrollPane> </ScrollPane>
</VBox> </SplitPane>
</TitledPane> </TitledPane>
</masterNode> </masterNode>
<detailNode> <detailNode>
<TitledPane text="%powerplay.detail.title" collapsible="false"> <TitledPane text="%powerplay.detail.title" collapsible="false">
<VBox spacing="4" padding="$tablePadding"> <SplitPane padding="$tablePadding" dividerPositions="0.9" orientation="VERTICAL">
<TableView fx:id="tblDetail" VBox.vgrow="ALWAYS"> <TableView fx:id="tblDetail" VBox.vgrow="ALWAYS">
<columns> <columns>
<TableColumn prefWidth="100" text="%market.system"> <TableColumn prefWidth="100" text="%market.system">
<cellValueFactory><PropertyValueFactory property="name"/></cellValueFactory> <cellValueFactory><PropertyValueFactory property="name"/></cellValueFactory>
@@ -202,13 +202,13 @@
<TableView fx:constant="UNCONSTRAINED_RESIZE_POLICY"/> <TableView fx:constant="UNCONSTRAINED_RESIZE_POLICY"/>
</columnResizePolicy> </columnResizePolicy>
<contextMenu><fx:reference source="ctxMenu"/></contextMenu> <contextMenu><fx:reference source="ctxMenu"/></contextMenu>
</TableView> </TableView>
<ScrollPane minHeight="50"> <ScrollPane minHeight="50">
<VBox spacing="4" padding="$summPadding"> <VBox spacing="4" padding="$summPadding">
<HBox spacing="4"><Label fx:id="detailCCSumm" wrapText="true"/></HBox> <HBox spacing="4"><Label fx:id="detailCCSumm" wrapText="true"/></HBox>
</VBox> </VBox>
</ScrollPane> </ScrollPane>
</VBox> </SplitPane>
</TitledPane> </TitledPane>
</detailNode> </detailNode>
</MasterDetailPane> </MasterDetailPane>