Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 3. Layout > Position Children Linearly

recipe 3.1. Position Children Linearly

3.1.1. Problem

You want to control the layout of children in a container, positioning them either horizontally or vertically.

3.1.2. Solution

Assign either HorizontalLayout or VerticalLayout to the layout property of the container, and set the desired alignment properties to the children along the axis of the specified layout.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial