FLEX4_在Design上方新增controlBarContent專屬區域範例
- <?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">
- <fx:Declarations>
- <!-- Place non-visual elements (e.g., services, value objects) here -->
- </fx:Declarations>
- <s:controlBarLayout>
- <s:BasicLayout/>
- </s:controlBarLayout>
- <s:controlBarContent>
- <s:Button label="Menu"/>
- </s:controlBarContent>
- </s:Application>
執行結果:
留言
張貼留言