• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Text in textfield start from the middle of the textfield and are not centered in the textfield  RSS feed

 
Greenhorn
Posts: 22
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi i'm working on a controller class that have some textfields and they performs a bit strange, when i'm getting a long text from the database to populate the textfield that has alignment to center. te window size has small and  the text START at the middle of the textfield, but when i make the window lager and resize it back to the small size the text is starting where it should be.
anyone had som simular problems? is it a bug in javafx? I can't take a screen shot of my code or paste it in here. i'm only intereted to hear if someone has encontered a simular problem
 
Marshal
Posts: 5988
155
Chrome Eclipse IDE Java Postgres Database Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's really hard to know what is gong on without code or a screenshot. Why not make a SSCCE (that's a link) that demonstrates the problem and post it here?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!