Skip to main content
A newer version of this page is available. .

TdxVisualRefinements Class

Stores global padding adjustments for all container controls.

Declaration

TdxVisualRefinements = class(
    TObject
)

Remarks

This class has members that allow you to customize paddings in container controls (Padding and HeaderPadding) to improve readability.

Example

You can adjust the default padding dimensions for each container control.

The default paddings

The following code example adds 5 pixels to the left and right paddings and 2 pixels to the top and bottom paddings:

TdxVisualRefinements.HeaderPadding := Rect(5, 2, 5, 2);
TdxVisualRefinements.Padding := Rect(5, 2, 5, 2);

The custom paddings

Inheritance

TObject
TdxVisualRefinements
See Also