using Spark BorderContainer

Simple Example which shows you how to use border container in spark

Just I have inserted simple label inside container


<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
    xmlns:mx="library://ns.adobe.com/flex/mx"
    xmlns:s="library://ns.adobe.com/flex/spark"> 

    <s:BorderContainer
        backgroundColor="red" cornerRadius="10"
        borderStyle="inset" borderWeight="4" >
        <s:Label text="Some text here" />
    </s:BorderContainer>
</s:Application>

Tags: , , , ,

Hi, Stranger! Leave Your Comment...

Name (required)
Email (required)
Website