Hi,
I'm trying to define a border for ComboDropDownButton in an isl file. I defined the same border for the states "HotTracked" and "Normal", but the style is only applied for the HotTracked state. No border is displayed for the normal state. Here is a sample of my isl file:
<style role="ComboDropDownButton"> <states> <state name="Normal" backColor="White" borderColor="255, 67, 67" backColor2="209, 215, 225" backGradientStyle="GlassTop37" /> <state name="HotTracked" backColor="White" borderColor="255, 67, 67" backColor2="209, 215, 225" backGradientStyle="GlassTop37" /> </states> </style>
Do you have any idea of what I am doing wrong?
Thanks
It's hard to guess without the rest of the isl file and maybe a sample project to run and see the behavior.
If you load your isl file into AppStylist and go to the Editors tab, do you get the same results there?
What version of the controls are you using?
Here is the complete isl that reproduces the issue:
<?xml version="1.0" encoding="utf-8"?><styleLibrary> <annotation> <lastModified>2011-11-04T08:13:02</lastModified> </annotation> <styleSets defaultStyleSet="Default"> <styleSet name="Default" buttonStyle="FlatBorderless" useFlatMode="True"> <styles> <style role="Base"> <states> <state name="Normal" themedElementAlpha="Transparent" /> <state name="HotTracked" themedElementAlpha="Transparent" /> </states> </style> <style role="ComboDropDownButton"> <states> <state name="Normal" backColor="White" borderColor="255, 67, 67" backColor2="209, 215, 225" backGradientStyle="GlassTop37" /> <state name="HotTracked" backColor="White" borderColor="255, 67, 67" borderAlpha="Opaque" backColor2="209, 215, 225" backGradientStyle="GlassTop37" /> </states> </style> </styles> </styleSet> </styleSets></styleLibrary>
I get the same results into AppStylist.
I'm using 11.1.20111.1002 version.