LCL: Adding default values for properties of the THeaderSection class

This commit is contained in:
n7800 2024-09-27 01:56:32 +05:00 committed by Juha Manninen
parent 6a9198033c
commit c0b0fb81df

View File

@ -3984,13 +3984,13 @@ type
//index which doesn't change when the user reorders the sections //index which doesn't change when the user reorders the sections
property OriginalIndex: Integer read FOriginalIndex; property OriginalIndex: Integer read FOriginalIndex;
published published
property Alignment: TAlignment read FAlignment write SetAlignment; property Alignment: TAlignment read FAlignment write SetAlignment default taLeftJustify;
property ImageIndex: TImageIndex read FImageIndex write SetImageIndex default -1; property ImageIndex: TImageIndex read FImageIndex write SetImageIndex default -1;
property MaxWidth: Integer read FMaxWidth write SetMaxWidth default 10000; property MaxWidth: Integer read FMaxWidth write SetMaxWidth default 10000;
property MinWidth: Integer read FMinWidth write SetMinWidth default 0; property MinWidth: Integer read FMinWidth write SetMinWidth default 0;
property Text: TCaption read FText write SetText; property Text: TCaption read FText write SetText;
property Width: Integer read GetWidth write SetWidth; property Width: Integer read GetWidth write SetWidth;
property Visible: Boolean read FVisible write SetVisible; property Visible: Boolean read FVisible write SetVisible default true;
end; end;
THeaderSectionClass = class of THeaderSection; THeaderSectionClass = class of THeaderSection;