Class TCastleScrollArea

Unit

Declaration

type TCastleScrollArea = class(TCastleUserInterface)

Description

Class that represents scrollable area inside TCastleScrollView.ScrollArea. Never create instances of this class directly – it should only be created by TCastleScrollView.

Hierarchy

Overview

Methods

Public constructor Create(AOwner: TComponent); override;

Properties

Published property AutoSizeToChildren default true;
Published property VerticalAnchorSelf stored false;
Published property VerticalAnchorParent stored false;

Description

Methods

Public constructor Create(AOwner: TComponent); override;

This item has no description.

Properties

Published property AutoSizeToChildren default true;

This item has no description. Showing description inherited from TCastleUserInterface.AutoSizeToChildren.

Adjust size to encompass all the children. The properties FullSize, Width, Height are ignored in this case. Our Left and Bottom still matter.

Our size is adjusted to all existing children sizes and positions.

We add AutoSizeToChildrenPaddingTop to the resulting height, and AutoSizeToChildrenPaddingRight to the resulting width.

Published property VerticalAnchorSelf stored false;

Do not store VerticalAnchorXxx properties, they should be only controlled using TCastleScrollViewCustom.Scroll. Note: we cannot prevent storing (duplicated in this case) Translation.Y value.

Published property VerticalAnchorParent stored false;

This item has no description. Showing description inherited from TCastleUserInterface.VerticalAnchorParent.

Which parent border is aligned to our VerticalAnchorSelf border.


Generated by PasDoc 0.16.0-snapshot.