| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| |
| --> |
| <!--- The default skin class for a Spark SkinnableContainer container. |
| |
| @see spark.components.SkinnableContainer |
| |
| @langversion 3.0 |
| @playerversion Flash 10 |
| @playerversion AIR 1.5 |
| @productversion Flex 4 |
| --> |
| <s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" |
| xmlns:s="library://ns.adobe.com/flex/spark" |
| xmlns:fb="http://ns.adobe.com/flashbuilder/2009" |
| alpha.disabled="0.5"> |
| |
| <fx:Metadata>[HostComponent("spark.components.SkinnableContainer")]</fx:Metadata> |
| |
| <s:states> |
| <s:State name="normal"/> |
| <s:State name="disabled"/> |
| </s:states> |
| |
| <!--- Defines the appearance of the SkinnableContainer class's background. --> |
| <s:Rect id="background" |
| left="0" |
| right="0" |
| top="0" |
| bottom="0" |
| radiusX="4" |
| radiusY="4"> |
| |
| <s:stroke> |
| <!--<s:LinearGradientStroke weight="1" |
| scaleMode="normal"/>--> |
| <s:SolidColorStroke weight="1" |
| color="0xffffff" |
| scaleMode="normal" |
| alpha="0"/> |
| </s:stroke> |
| |
| <s:fill> |
| <s:LinearGradient rotation="90"> |
| <s:GradientEntry color="0x70a6d2" |
| alpha="1"/> |
| <!--000000 / 0.01--> |
| <s:GradientEntry color="0xdbecfb" |
| alpha="1"/> |
| <!--000000 / 0.07--> |
| </s:LinearGradient> |
| |
| </s:fill> |
| |
| </s:Rect> |
| |
| <!-- |
| Note: setting the minimum size to 0 here so that changes to the host component's |
| size will not be thwarted by this skin part's minimum size. This is a compromise, |
| more about it here: http://bugs.adobe.com/jira/browse/SDK-21143 |
| --> |
| <!--- @copy spark.components.SkinnableContainer#contentGroup --> |
| <s:Group id="contentGroup" |
| left="10" |
| right="10" |
| top="0" |
| bottom="0" |
| minWidth="0" |
| minHeight="0"> |
| <s:layout> |
| <s:BasicLayout/> |
| </s:layout> |
| </s:Group> |
| |
| </s:Skin> |