Javafx textarea 크기

코드 예제

1
0

javafx textarea 글꼴 크기

textArea.setStyle("-fx-font-size: 20");
0
0

javafx textarea 크기

TextArea textArea = new TextArea(); //making a TexrArea object
double height = 400; //making a variable called height with a value 400
double width = 300;  //making a variable called height with a value 300

//You can use these methods
textArea.setPrefHeight(height);  //sets height of the TextArea to 400 pixels 
textArea.setPrefWidth(width);    //sets width of the TextArea to 300 pixels
0
0

javafx textarea 작게 만드는 방법

import javafx.scene.control.TextArea;

TextArea textArea = new TextArea(); //making a TextArea object

textArea.setPrefHeight(400);  //sets height of the TextArea to 400 pixels 
textArea.setPrefWidth(300);    //sets width of the TextArea to 300 pixels

비슷한 페이지

예제가있는 유사한 페이지

다른 언어로

이 페이지는 다른 언어로되어 있습니다

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................