Article

infoTable

Displays contained element information in a vertical format, with each successive element directly below the previous element.

Overview

Here's an example that displays information vertically inside of a ratingCard element.

<ratingCard>
    <title><badge src="resource://tomato-fresh" /> 99%</title>
    <text>Tomatometer</text>
    <infoTable>
        <info>
            <header>
                <title>175</title>
            </header>
            <text>Reviews</text>
        </info>
        <info>
            <header>
                <title>173</title>
            </header>
            <text>Fresh</text>
        </info>
        <info>
            <header>
                <title>2</title>
            </header>
            <text>Rotten</text>
        </info>
    </infoTable>
</ratingCard>

Subelements of infoTable

Elements that Use infoTable

Topics

Valid TVML Styles

margin

Specifies the spacing around an element.

max-height

Specifies the maximum height for an element.

tv-line-spacing

Specifies the amount of space between lines of text.

width

Specifies how wide an element is.

Valid TVML Attributes

binding

Associates information in a data item with an element.

prototype

Associates a data item type with an element.

theme

Sets the color scheme for an element.

See Also

Container Elements

carousel

Arranges images in a row.

grid

Arranges elements in a grid pattern.

imgDeck

Contains several images to be displayed at a later time.

organizer

Creates a generic element with its contained elements arranged through TVML styles.

row

Displays elements horizontally.

section

Combines elements and acts as a single element.

stack

Groups and lays out elements vertically.

shelf

Displays elements horizontally and adds the ability to scroll to offscreen elements.