• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JavaFX: CSS

 
harish Agari
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Is it possible to embed an image within a label in between 2 words.
I know its possible to add image at the left right and middle. Is it possible to embed within words? If not is there any other way to do it?
Example:

Please select the flowers button(flowers image here) to go to flowers section

Regards,
Harish
 
John Damien Smith
Ranch Hand
Posts: 299
15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See:
http://stackoverflow.com/questions/33136808/make-specific-word-italic-in-javafx-label
The concept is the same for embedding images at arbitrary locations within Text (you use a TextFlow).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic