MACROMEDIA FLEX-GETTING STARTED WITH FLEX Uživatelský manuál Strana 72

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 148
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 71
<mx:VBox label="Tab Three">
<mx:Label text="Tab three's content" />
</mx:VBox>
</mx:TabNavigator>
</mx:Application>
When I run this example from Flex Builder I see Figure 4-14.
Figure 4-14. The tab control
Yep,
it’s really that easy. And you can reskin the tabs to be in
whatever form you please with CSS and skinning (more on that
shortly).
An accordion works exactly the same way, as you can see in
Example 4-15.
Example 4-15. Accord.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="vertical">
<mx:Accordion borderStyle="solid” width="100%” height="100%">
56 | Chapter 4:Flex Controls and Layout
Zobrazit stránku 71
1 2 ... 67 68 69 70 71 72 73 74 75 76 77 ... 147 148

Komentáře k této Příručce

Žádné komentáře