| Summary: | [Theming] Refactor Borders-handling | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Tim Buschtoens <tbuschto> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | tbuschto |
| Version: | 1.4 | ||
| Target Milestone: | 1.4 M7 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 332509 | ||
|
Description
Tim Buschtoens
After some discussion with Ivan we agreed to the following: - The new Border (combined) implementation should have a method like "isComplex", we could use it in ThemeStore#getBorder. - Generated rounded borders objectes should be stored with a separate key (created by combining the borders key + a separator + the radii key). - Non-rounded borders should not be created if they are not used. The Rounded borders can be created from either the original (non-resolved) border-object, or from the qooxdoo border object, so its not releavant which we have. Some changes in CVS HEAD: - added BorderTest.js - removed Border-manager, border-statics - formatting Border.js qx.ui.core.Border and org.eclipse.rwt.RoundedBorder have been merged into org.eclipse.rwt.Border in CVS HEAD. Changes in CVS HEAD. Rounded borders are now cached, and non-rounded borders are only created if necessary. With these changes the bug can be closed. |