質問するログイン新規登録

質問編集履歴

1

変更後のコードの掲載誤りのため再編集

2015/10/14 02:40

投稿

XCUBE
XCUBE

スコア101

title CHANGED
File without changes
body CHANGED
@@ -50,22 +50,27 @@
50
50
 
51
51
  <?import java.lang.*?>
52
52
  <?import javafx.scene.control.*?>
53
+ <?import javafx.scene.layout.*?>
53
54
 
54
55
 
55
- <SplitPane dividerPositions="0.5" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1">
56
- <items>
57
- <SplitPane dividerPositions="0.5" orientation="VERTICAL" prefHeight="200.0" prefWidth="160.0">
56
+ <HBox xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1">
57
+ <children>
58
+ <SplitPane dividerPositions="0.5" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0">
58
59
  <items>
60
+ <SplitPane dividerPositions="0.5" orientation="VERTICAL" prefHeight="200.0" prefWidth="160.0">
61
+ <items>
59
- <ListView prefHeight="200.0" prefWidth="200.0" />
62
+ <ListView prefHeight="200.0" prefWidth="200.0" />
60
- <TableView prefHeight="200.0" prefWidth="200.0">
63
+ <TableView prefHeight="200.0" prefWidth="200.0">
61
- <columns>
64
+ <columns>
62
- <TableColumn prefWidth="75.0" text="C1" />
65
+ <TableColumn prefWidth="75.0" text="C1" />
63
- <TableColumn prefWidth="75.0" text="C2" />
66
+ <TableColumn prefWidth="75.0" text="C2" />
64
- </columns>
67
+ </columns>
65
- </TableView>
68
+ </TableView>
69
+ </items>
70
+ </SplitPane>
71
+ <ScrollPane prefHeight="200.0" prefWidth="200.0" />
66
72
  </items>
67
73
  </SplitPane>
68
- <ScrollPane prefHeight="200.0" prefWidth="200.0" />
74
+ </children>
69
- </items>
75
+ </HBox>
70
- </SplitPane>
71
76
  ```