When you can set the properties of components in its own tag called a inline style sheet.
When you can set the properties of components in its own tag called a inline style sheet.When you can set the properties of components in its own tag called a inline style sheet. In this example you can see how we can use a inline style sheet in our application.
<?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"> <s:Panel title="Inline Style Example" width="348" height="182"> <!-- Using Inline style --> <s:Button id="btn" label="Submit" styleName="button" x="125" y="20" cornerRadius="20" width="95" height="24" color="#066167" fontFamily="verdana" fontSize="16" fontWeight="bold" chromeColor="#93B4AE" focusColor="#120777"/> <s:Label text="This is a Inline style example." x="11" y="77" styleName="label" fontSize="18" fontFamily="verdana" backgroundColor="#E79595" color="#6A3737" height="45" width="325" textAlign="center" verticalAlign="middle"/> </s:Panel> </s:Application> |