回答編集履歴
1
setWidthが使えなかったので訂正
test
CHANGED
@@ -2,4 +2,12 @@
|
|
2
2
|
|
3
3
|
[https://docs.oracle.com/javase/jp/8/javafx/api/javafx/scene/control/TextArea.html](https://docs.oracle.com/javase/jp/8/javafx/api/javafx/scene/control/TextArea.html)
|
4
4
|
|
5
|
-
[https://docs.oracle.com/javase/jp/8/javafx/api/javafx/scene/layout/Region.html#setWidth-double-](https://docs.oracle.com/javase/jp/8/javafx/api/javafx/scene/layout/Region.html#setWidth-double-)
|
5
|
+
[~~https://docs.oracle.com/javase/jp/8/javafx/api/javafx/scene/layout/Region.html#setWidth-double-~~](https://docs.oracle.com/javase/jp/8/javafx/api/javafx/scene/layout/Region.html#setWidth-double-)
|
6
|
+
|
7
|
+
[https://docs.oracle.com/javase/jp/8/javafx/api/javafx/scene/control/TextArea.html#setPrefColumnCount-int-](https://docs.oracle.com/javase/jp/8/javafx/api/javafx/scene/control/TextArea.html#setPrefColumnCount-int-)
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
ただ、Labelなどのような設定ではなさそうなので、TextAreaを置いたPane系でサイズ指定して、
|
12
|
+
|
13
|
+
そのPane系を基盤のPaneに置くのが良い気がします。
|