• Post Reply Bookmark Topic Watch Topic
  • New Topic

Setting padding for text area

 
Roger Wells
Ranch Hand
Posts: 51
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to set the padding for a text area but this code just puts a grey outline

taFormatter.setPadding(new Insets(10, 10,10, 10));

Thanks
Roger
 
Norm Radder
Rancher
Posts: 1655
22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you post a small, simple program that compiles, executes and shows the problem?
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!