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
  • PrintPrint
Share this Page URL
Help

Chapter 8: Improving the Look of Cells > Handling Cell Resizing

Handling Cell Resizing

In Chapter 7, you looked at the various changes that take place when selecting and editing table content—and spent a lot of time looking at the controls that are added to the cell when the table goes into editing mode. This begs the question: how should a customized cell react to changes in shape, either because of the table entering editing mode, or because the entire device has been rotated?

There are two types of events that can cause cell resizing:

  • Putting a table into editing mode, which causes the editing and/or reordering controls to be displayed
  • Rotating the device from portrait to landscape, and vice versa

Both types of events will cause the cells to resize—in the first instance, because the cell needs to display more “furniture,” and in the second, because the cell has to adapt to a new table width.


  

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


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint