“tamanho da fonte Javafx Textarea” Respostas de código

tamanho da fonte Javafx Textarea

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

javafx textarea como tornar menor

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
Exypnos

Javafx Tamanho da 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
Lazey Dude

Respostas semelhantes a “tamanho da fonte Javafx Textarea”

Perguntas semelhantes a “tamanho da fonte Javafx Textarea”

Mais respostas relacionadas para “tamanho da fonte Javafx Textarea” em Java

Procure respostas de código populares por idioma

Procurar outros idiomas de código