Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 286098 - [Button] Broken appearance with CSS border-radius property set
Summary: [Button] Broken appearance with CSS border-radius property set
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.3   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.3 M1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 286096 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-08-10 04:53 EDT by Ivan Furnadjiev CLA
Modified: 2009-08-12 04:21 EDT (History)
1 user (show)

See Also:


Attachments
Solution (1.02 KB, patch)
2009-08-10 07:00 EDT, Tim Buschtoens CLA
rsternberg: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Furnadjiev CLA 2009-08-10 04:53:24 EDT
Setting CSS border-radius property to PUSH and TOGGLE buttons leads to missing border and background gradient. It is easily observed in the current Example Demo/Design Example from CVS HEAD - buttons are without border and background gradient.
Comment 1 Ivan Furnadjiev CLA 2009-08-10 04:56:41 EDT
*** Bug 286096 has been marked as a duplicate of this bug. ***
Comment 2 Tim Buschtoens CLA 2009-08-10 07:00:34 EDT
Created attachment 143882 [details]
Solution

Solves the problem by applying the gfxMixin to MultiCellWidget directly.

Note: The GfxMixin overwrites a number of functions that are implemented in Widget/Parent/Terminator. If those functions are overwritten AGAIN by a subclass, the gfx-mixin does not work anymore, as was the case here. Originally only Parent and Terminator have been patched, now all Widgets that are subclasses of qx.ui.basic.Terminator must be patched speperately. However, it currently appears that no subclass of Terminator besides MultiCellWidget supports gradients/rounded borders, so this is the only class to patch.
Comment 3 Ivan Furnadjiev CLA 2009-08-11 03:42:46 EDT
Applied patch in CVS HEAD.