Announcement

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

    Img knows size of loaded Picture?

    Hi there,

    I have an Img for displaying various images. These images often change and have different resolutions.
    So I'm using Img#setSrc(url).
    How can the Img get the resolution of the loading image?
    Because if I don't set the size of the Img, the image is displayed stretched.

    I hope, I could make my problem clear!

    Thanks,
    Gilbert

    SmartGWT-Version: 3.0
    GWT: 2.5
    Browser: Firefox 10.0.8

    #2
    Now I solved it by using a HTMLPane and integrate the picture there.

    Comment

    Working...
    X