This content has been marked as final. Show 2 replies
Text elements have a method that allows you to choose how you want to draw the background. You get what you need with the .setBackgroundMode() method. More exactly with something like
Try to get a good color combination or text size so you can still read the text after this change.
HStaticText example = new HStaticText(the constructor you need); example.setBackgroundMode(HStaticText.NO_BACKGROUND_FILL);
Thanks for the reply. This is what I was doing and did not work but after your replay I looked at the code again and there were 2 constructors and I was only adding it to one constructor which was not being called . Adding to both fixed the problem.