Community
Participate
Working Groups
Build Identifier: RAP 1.4M6 The Combo and Spinner buttons theming shows the default image if the new ones include transparency around the main arrow. Reproducible: Always
Created attachment 192806 [details] screenshot
Did you use Combo-Button-Icon CSS element to change the icon? Could you post your Combo CSS?
With Combo-Button-Icon it works fine on 1.4M6, thanks! I've used jus Combo-Button - here's the CSS piece (taken from the 1.3 theming): Combo-Button { background-image: url( "/theme/icons/combo.down.gif" ); } Anyway it looks like this might mean that some CSS translation are needed for migration from 1.3 to 1.4 but that's OK for me. Maybe it would be nice if this finds its place in the New and Noteworthy section.
The Spinner-UpButton-Icon & Spinner-DownButton-Icon (not the Spinner-UpButton & Spinner-DownButton I've used) also seem to work fine.
With the old (classic ) default theme we intentionally set the default combo/spinner button icon in Combo-Button#background-image property to be backward compatibility with 1.3. With migration of default theme to the new one (business) this functionality has been lost and the default button icon is now set on the new property Combo-Button-Icon. Thus, we are no longer compatible with 1.3. Maybe we have to correct the CSS doc that states: <property name="background-image"> <description> Background image, gradient or icon if not specified in Combo-Button-Icon for combo drop-down button. </description> </property> and remove "or icon if not specified in Combo-Button-Icon" or restore the backward compatibility like in old default theme.
Removed "or icon if not specified in XXX-Button-Icon" from CSS XXX-Button#background-image description (Combo, CCombo, Spinner and DateTime). The CSS element XXX-Button-Icon should be used to set the button icon.