Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 278743 - Implement rounded corners
Summary: Implement rounded corners
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 1.3 M1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard: plan-version=1.3 plan-status=committe...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-02 05:26 EDT by Rüdiger Herrmann CLA
Modified: 2009-08-04 16:14 EDT (History)
2 users (show)

See Also:


Attachments
CVS Patch (46.45 KB, patch)
2009-06-05 12:21 EDT, Tim Buschtoens CLA
no flags Details | Diff
First draft of rounded borders implementation. (54.05 KB, patch)
2009-06-10 07:57 EDT, Ivan Furnadjiev CLA
no flags Details | Diff
Enable rounded borders in Scale. (1.61 KB, patch)
2009-06-10 07:57 EDT, Ivan Furnadjiev CLA
no flags Details | Diff
Updated patch with latest version of GfxMixin and CSS support (for both gradients and rounded borders) (114.24 KB, patch)
2009-06-29 10:49 EDT, Ivan Furnadjiev CLA
rsternberg: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rüdiger Herrmann CLA 2009-06-02 05:26:27 EDT
mplement a mechanism to apply rounded corners to the widget-border.
Comment 1 Tim Buschtoens CLA 2009-06-05 12:21:14 EDT
Created attachment 138426 [details]
CVS Patch

This is a qooxdoo-mixin that enables rounded corners and gradient backgrounds. The gradient can be set using the "backgroundGradient" property. To have rounded corners, set an instance of "RoundedBorder" as the widgets border.

Known issues for rounded corners:
- Using "RoundedBorder" on a Widget that defines no dimensions of its own (e.g. width and/or height are null) does not work.
- Using "RoundedBorder" on a Shell is currently not supported. 
- Combining rounded corners with an background image is not supported.
- Transparency (an opacity between 0 and 1) combined with rounded corners can produce a slight graphical glitch in Internet Explorer.

There are no known issues for gradients.
Comment 2 Ivan Furnadjiev CLA 2009-06-10 07:57:15 EDT
Created attachment 138778 [details]
First draft of rounded borders implementation.
Comment 3 Ivan Furnadjiev CLA 2009-06-10 07:57:53 EDT
Created attachment 138779 [details]
Enable rounded borders in Scale.
Comment 4 Tim Buschtoens CLA 2009-06-22 11:55:24 EDT
Comment on attachment 138426 [details]
CVS Patch

The patch is now obsolete, for the new version see bug 277671, attachment 139767 [details].
Comment 5 Ivan Furnadjiev CLA 2009-06-29 10:49:24 EDT
Created attachment 140383 [details]
Updated patch with latest version of GfxMixin and CSS support (for both gradients and rounded borders)
Comment 6 Ivan Furnadjiev CLA 2009-07-02 03:33:11 EDT
The patch is now obsolete, for the new version see bug 277671, attachment 140656 [details].
Comment 7 Ivan Furnadjiev CLA 2009-07-06 03:49:24 EDT
Changes are in CVS HEAD.
Comment 8 Ralf Sternberg CLA 2009-08-04 16:14:01 EDT
Comment on attachment 140383 [details]
Updated patch with latest version of GfxMixin and CSS support (for both gradients and rounded borders)

Attachment 140383 [details] contains the original contribution by Tim