<Shell xmlns="http://www.eclipse.org/xwt/presentation" | |
xmlns:x="http://www.eclipse.org/xwt" | |
xmlns:j="clr-namespace:java.lang" | |
text="CCombo Styles Test"> | |
<Shell.layout> | |
<GridLayout numColumns="2"/> | |
</Shell.layout> | |
<Label text="READ_ONLY: "/> | |
<CCombo name="combo1" x:style="READ_ONLY"> | |
<CCombo.items> | |
<x:Array Type="j:String"> | |
<j:String>Item1</j:String> | |
<j:String>Item2</j:String> | |
<j:String>Item3</j:String> | |
<j:String>Item4</j:String> | |
</x:Array> | |
</CCombo.items> | |
</CCombo> | |
<Label text="FLAT: "/> | |
<CCombo name="combo2" x:style="FLAT"> | |
<CCombo.items> | |
<x:Array Type="j:String"> | |
<j:String>Item1</j:String> | |
<j:String>Item2</j:String> | |
<j:String>Item3</j:String> | |
<j:String>Item4</j:String> | |
</x:Array> | |
</CCombo.items> | |
</CCombo> | |
<Label text="BORDER: "/> | |
<CCombo name="combo3" x:style="BORDER" text="Item3"> | |
<CCombo.items> | |
<j:String>Item1</j:String> | |
<j:String>Item2</j:String> | |
<j:String>Item3</j:String> | |
<j:String>Item4</j:String> | |
</CCombo.items> | |
</CCombo> | |
</Shell> |