---
title: Padding
framework: applenewsformat
role: symbol
role_heading: Object
path: applenewsformat/padding
---

# Padding

The object for defining space around the content in a table cell.

## Declaration

```data
object Padding
```

## Properties

bottom: The amount of padding between the bottom of the cell and the content, as a number in points or using the available units for components. See Specifying Measurements for Components. left: The amount of padding between the left side of the cell and the content, as a number in points or using the available units for components. right: The amount of padding between the right side of the cell and the content, as as a number in points or using the available units for components. top: The amount of padding between the top of the cell and the content, as a number in points or using the available units for components.

## Discussion

Discussion Use cell padding to add space around the content in the cell. For example, you can set the amount of padding between the right side of the cell and the content, or the left side of the cell and the content. You can use this object in TableCellStyle and ConditionalTableCellStyle. Example {   "componentStyles": {     "exampleForTables": {       "tableStyle": {         "cells": {           "verticalAlignment": "top",           "padding": {             "left": 6,             "right": 6,             "bottom": 4,             "top": 2           }         }       }     }   } }

## See Also

### Table Styles

- [Defining and Using Table Styles](applenews/defining-and-using-table-styles.md)
- [TableStyle](applenewsformat/tablestyle.md)
- [TableRowStyle](applenewsformat/tablerowstyle.md)
- [ConditionalTableRowStyle](applenewsformat/conditionaltablerowstyle.md)
- [TableRowSelector](applenewsformat/tablerowselector.md)
- [TableColumnStyle](applenewsformat/tablecolumnstyle.md)
- [ConditionalTableColumnStyle](applenewsformat/conditionaltablecolumnstyle.md)
- [TableColumnSelector](applenewsformat/tablecolumnselector.md)
- [TableCellStyle](applenewsformat/tablecellstyle.md)
- [ConditionalTableCellStyle](applenewsformat/conditionaltablecellstyle.md)
- [TableCellSelector](applenewsformat/tablecellselector.md)
- [TableBorder](applenewsformat/tableborder.md)
- [TableStrokeStyle](applenewsformat/tablestrokestyle.md)
- [FormattedText](applenewsformat/formattedtext.md)
