1 Reply Latest reply on Jun 10, 2009 6:05 PM by Peter deHaan

    Flex 4 - HGroup with a border

    Zolotoj Level 3

      How can I do it?

       

      Thanks

        • 1. Re: Flex 4 - HGroup with a border
          Peter deHaan Level 4

          You could wrap the HGroup in a Group and use a stroke:

          <?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/halo">
          
              <s:Group left="20" top="20">
                  <s:Rect width="100%" height="100%">
                      <s:stroke>
                          <s:SolidColorStroke color="red" />
                      </s:stroke>
                  </s:Rect>
          
          
                  <s:HGroup>
                      <s:Button label="lbl" />
                      <s:CheckBox />
                      <s:NumericStepper />
                  </s:HGroup>
              </s:Group>
          
          </s:Application>
          

          Peter