Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 281770

Summary: [Theming][Spinner] Add theme properties background-color and border to spinner buttons
Product: [RT] RAP Reporter: Ralf Sternberg <rsternberg>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: ivan
Version: 1.2   
Target Milestone: 1.3 M1   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Proposed patch none

Description Ralf Sternberg CLA 2009-06-28 08:12:39 EDT
The properties
 * background-color
 * border
should be added to Spinner-UpButton and SpinnerDownButton to allow for a flat look similar to Combo.
Comment 1 Asen Draganov CLA 2009-07-01 07:23:05 EDT
Created attachment 140585 [details]
Proposed patch

There is an issue with Spinner buttons. Example use cases:
- Using buttons without border (for example flat look) or borders with different width.
- Increasing the font size.
In both cases the button image could not be aligned in an expected manner
(horizontally "center" and vertically "middle"). For example, if you increase
the font, the buttons become higher and their images remain in the upper side
of the buttons. 
This issue will be solved, if qx.ui.form.Button is used instead of qx.ui.basic.Image for Spinner buttons.
The corresponding bug with proposed patch has been opened in Qooxdoo:
http://bugzilla.qooxdoo.org/show_bug.cgi?id=2536
Comment 2 Ralf Sternberg CLA 2009-07-01 08:47:12 EDT
Applied the patch to CVS. Filed bug 282149 for the issue described in comment #1.