0 Replies Latest reply on Aug 2, 2009 3:20 AM by Adnan Doric

    Spark ButtonBar and Scroller

    Adnan Doric Level 1

      Hello,

       

      I am trying to make a scrollable ButtonBar, but inserting it in the Scroller doesn't works :

       

          <s:Scroller id="scroller" width="300" height="50"
              verticalScrollPolicy="off"
              horizontalScrollPolicy="on"
              >
             
              <s:ButtonBar width="400">
                  <s:ArrayCollection>
                      <fx:Object label="Home" />
                      <fx:Object label="Rooms" />
                      <fx:Object label="Dining" />
                  </s:ArrayCollection>
              </s:ButtonBar>
          </s:Scroller>

       

      Can someone please tell me how to proceed ?

      Do I have to extend the ButtonBar or I maybe only need to alter its layout ?

       

      Thank you in advance,

      Adnan