Skip to main content

itemPadding

Type

property

Summary

The size of the padding for tree view elements

Syntax

set the itemPadding of <widget> to <pPadding>
get the itemPadding of <widget>

Description

Use the itemPadding property to control the amount of padding between elements of the tree view - in particular the distance of icons from the text and border.

Parameters

NameTypeDescription

pPadding

The padding in pixels

Examples

set the itemPadding of widget "Tree View" to 10