Bug 402513 - [Tree][Table] Scale images to default image size
Summary: [Tree][Table] Scale images to default image size
Status: NEW
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 2.1   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-06 05:42 EST by Ralf Sternberg CLA
Modified: 2013-03-06 05:42 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Sternberg CLA 2013-03-06 05:42:59 EST
In SWT, the first image in a Tree/Table defines the default image size. All other images are *scaled* to this size. In RWT, images are cropped instead of scaled.

I guess that we could mimic SWT's behavior by setting the background-size CSS property. It doesn't seem to be respected by older IEs, so images would still be cropped in these browsers.