Questions tagged [javafx-textarea]
4 questions
                    
                    4
                    
            votes
                
                3 answers
            
        Where can I find a complete official reference on JavaFX CSS?
When I want to change the background colour of my TextArea in JavaFX (with CSS), many people recommend "-fx-control-inner-background". But when I look up the Oracle's CSS reference there's no such a thing as "-fx-control-inner-background"! In fact…
         
    
    
        Joseph_Marzbani
        
- 1,796
- 4
- 22
- 36
                    2
                    
            votes
                
                3 answers
            
        UTF-8 encoding for output from Console to JavaFX TextArea
I want to redirect the output in Console to JavaFX TextArea, and I follow a suggestion here: JavaFX: Redirect console output to TextArea that is created in SceneBuilder
I tried to set charset to UTF-8 in PrintStream(), but it does not look so well.…
         
    
    
        Ha Trung Nam Hai
        
- 23
- 5
                    1
                    
            vote
                
                1 answer
            
        JavaFX rotated Text element layout problem / bounding box resizing problem
Summary
When rotating a JavaFX Text element to realize vertical text, the Text's bounding box seems not to be resized properly whic causes problems. I would like to have the Text's bounding box as narrow as possible in the horizontal…
         
    
    
        WolfiG
        
- 1,059
- 14
- 31
                    0
                    
            votes
                
                1 answer
            
        center align textarea in JavaFX with CSS
I know I am supposed to set -fx-text-alignment: center; in order to achieve a center-aligned textarea.
#txtFaContent
{
    -fx-text-alignment: center;
}
with txtFaContent being the ID of my textarea (as well as its variable name inside the…
         
    
    
        Joseph_Marzbani
        
- 1,796
- 4
- 22
- 36