<?xml version="1.0" encoding="utf-8"?>
<!---
Style Sample (Descendant Selector)
descendant - 子孫
-->
<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/halo"
    minWidth      = "1024"
    minHeight     = "768"
    viewSourceURL = "srcview/index.html"
>

    <fx:Style>
        @namespace mx "library://ns.adobe.com/flex/halo";

        @namespace s  "library://ns.adobe.com/flex/spark";
        mx|Panel s|Button {
            color : #ff0000; font-size : 40;
        }
    </fx:Style>

    <s:layout>
        <s:VerticalLayout horizontalAlign="center" />
    </s:layout>

    <mx:Panel width="400" height="300" horizontalAlign="center" verticalAlign="middle">
        <s:Button label="hoge" width="300" height="100" />
    </mx:Panel>

    <s:Button label="fuga" width="300" height="100" />

</s:Application>