Announcement

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

    DataSourceImageField.setVisibleRect

    Hi Isomorphic


    With DataSourceImageField it has the setImageWidth and Height but these crop the images.

    To do this with a GWT image you have to use the setVisibleRect method.

    I was wondering if it would be possible to have images from a DataSourceImageField be shrunk without cropping?

    Regards
    CharlesAbetz

    #2
    Hi Isomorphic

    Is this possible or is there another way to stop images from being cropped when changing the width and the height of the image?

    Comment


      #3
      Those settings resize the image, they do not crop it. You may be confused because the ListGrid will crop cell contents. See the Yahoo image search example for how to make a grid that can autosize to thumnails.

      Comment

      Working...
      X