Hi
Is it possible to display image in push button?
Hi NRK,
It is possible to display icon image on bush button. See the properties of push button.You can set icon from resource file or give the path of image you want to show as icon.
Regards,
Gulab
Yes. The "setIcon" method will set an icon into the button that displays ahead of any text. "setIconSize" controls the size of the displayed icon. If you want to REPLACE the button image with an icon, though, you need to study up on the "background-image" and "border-image" style sheet properties.