<!--
{
  "documentType" : "article",
  "framework" : "TVML",
  "identifier" : "/documentation/TVML/alignment-scrolling-and-coloring",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Alignment, Scrolling, and Coloring"
}
-->

# Alignment, Scrolling, and Coloring

Align elements within a shelf, set how your app reacts to scrolling, and set the
overall color scheme for your app.

## Topics

### Element Alignment

[centered](/documentation/TVML/centered)

Centers media items in a shelf.

[minLength](/documentation/TVML/minlength)

Reserves space for an element.

[rowCount](/documentation/TVML/rowcount)

Specifies the number of rows in a shelf.

### Scrolling

[indexTitles](/documentation/TVML/indextitles)

Specifies index bar titles for a section element.

[showsScrollIndicator](/documentation/TVML/showsscrollindicator)

Shows a scroll indicator along the side of an element appropriate for the user’s
specified language.

### Theme Settings

[theme](/documentation/TVML/theme)

Sets the color scheme for an element.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)