Publishers of technology books, eBooks, and videos for creative people

Home > Articles

  • Print
  • + Share This
This chapter is from the book

Working with the Stack Panel

As the name suggests, the Stack panel stacks its containing elements into a single line. As with the Grid panel, the widths and heights can be set dynamically.

To change the orientation of the Stack panel:

  1. From the Toolbox, choose the StackPanel tool 55inline01.jpg and draw a Stack panel on the Artboard.
  2. From the Toolbox, choose the Selection tool.
  3. Double-click the Stack panel on the Artboard. Draw a few objects in the Stack panel (Figure 4.24).
    Figure 4.24

    Figure 4.24 Three objects drawn in a Stack panel.

  4. By default, the orientation of elements within a Stack panel is vertical. To change the orientation, select the Stack panel. In the Layout section of the Properties panel, from the Orientation pop-up menu, choose Horizontal (Figure 4.25).
    Figure 4.25

    Figure 4.25 The Orientation pop-up menu in the Layout section of the Properties panel.

  • + Share This
  • 🔖 Save To Your Account