Can anyone guide me as how to add an image to the Text Button
Use an ImageButton.
The Juce demo has plenty of buttons…
The juce demo has plenty of buttons ... but none of the is an image button with text iside it ... which is pretty common thing!!
The imageButton doesnt alow to print text inside it, or at least i could achieve that !!
what is the simple way of making an imageButton with text inside ?
Maybe a DrawableButton would be better, as that can contain any kind of Drawable, e.g. a combination of image + text + whatever else you want.
Or just draw your own custom button. The ImageButton is designed to just do what it says on the tin, i.e. draw an image.