| Summary: | Pass image sizes to client | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Ralf Sternberg <rsternberg> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | tbuschto |
| Version: | 1.3 | ||
| Target Milestone: | 1.3 M1 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 284713 | ||
|
Description
Ralf Sternberg
Done for push-button in Attachment 142883 [details] for Bug 284713 Sizes of theming image are now also determined and passed onto the client. The client-side ThemeStore holds an array of [ url, widht, height ] for every image. To actually use this size, we need to add some functionality to ThemeValues.js. As a consequence, we need to throw an exception when a theme image can't be read. Note that it might also happen that an image is understood by the browser but not by our image reader. Changed QxImage accordingly. |