Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    setting ImageStyle to an icon on a Label

    Hi,
    I am using FF3.6 and SmartGwt 2.5
    I have a Label with an icon and a string.
    I want the icon not to stretch. I want it to be shown at its normal size.
    I set the size of the label using setWidth and setHeight but I don't know the origianl size of the image so I cannot use setIconSize.
    Is it possible to set some style to the icon so that it doesn't stretch?
    Thanks
Working...
X