GroupBox

From Openzet

Jump to: navigation, search

Contents

Introduction

GroupBox extends LayoutContainer to categorize subcontrols in a group with a title.

Image:GroupBox1.jpg

Property

 Usage

<containers:GroupBox title="Group Box" >
GroupBox basically has the same usage with Box. Additionally you can set title with this component with categorize subcontrols.

Application Example

<?xml version="1.0" encoding="utf-8"?>
<mx:Application
xmlns:containers="org.openzet.containers.*"
xmlns:controls="org.openzet.controls.*"
xmlns:mx="http://www.adobe.com/2006/mxml"
layout="vertical">
 
<mx:Panel paddingBottom="10" paddingTop="10" paddingLeft="10" paddingRight="10">
<containers:GroupBox title="Group Box" >
<mx:Button label="{button_title.text}" />
<mx:Button label="{button_title.text}" />
<mx:Button label="{button_title.text}" />
</containers:GroupBox>
</mx:Panel>
 
<mx:ApplicationControlBar dock="true">
<mx:Label text="Corner Radius" />
<mx:NumericStepper id="radius_value" value="0" minimum="0" maximum="100" />
<mx:Label text="Padding" />
<mx:NumericStepper id="padding_value" value="10" minimum="0" maximum="100" />
<mx:Label text="Font Size" />
<mx:NumericStepper id="font_value" value="10" minimum="10" maximum="100" />
<mx:Label text="GroupBox Title" />
<mx:TextInput id="txt_title" text="GroupBox Title" />
<mx:Label text="Button Text" />
<mx:TextInput id="button_title" text="GroupBox Content" />
</mx:ApplicationControlBar>
 
</mx:Application>
Personal tools
Participation
Silverlight