mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-10 03:48:27 +02:00
lcl: added DefaultTreeNodeExpandSignSize
git-svn-id: trunk@53323 -
This commit is contained in:
parent
570ce6207c
commit
e2c21deb0f
@ -3199,6 +3199,7 @@ const
|
||||
tvoKeepCollapsedNodes, tvoAutoItemHeight, tvoThemedDraw];
|
||||
DefaultMultiSelectStyle = [msControlSelect];
|
||||
DefaultTreeNodeHeight = 20;
|
||||
DefaultTreeNodeExpandSignSize = 9;
|
||||
|
||||
type
|
||||
TTreeViewExpandSignType = (
|
||||
@ -3545,7 +3546,7 @@ type
|
||||
property DefaultItemHeight: integer read FDefItemHeight write SetDefaultItemHeight default DefaultTreeNodeHeight;
|
||||
property DropTarget: TTreeNode read GetDropTarget write SetDropTarget;
|
||||
property ExpandSignColor: TColor read FExpandSignColor write FExpandSignColor default clWindowFrame;
|
||||
property ExpandSignSize: integer read FExpandSignSize write FExpandSignSize;
|
||||
property ExpandSignSize: integer read FExpandSignSize write FExpandSignSize default DefaultTreeNodeExpandSignSize;
|
||||
property ExpandSignType: TTreeViewExpandSignType
|
||||
read FExpandSignType write SetExpandSignType default tvestTheme;
|
||||
property InsertMarkNode: TTreeNode read FInsertMarkNode write SetInsertMarkNode;
|
||||
|
@ -4375,7 +4375,7 @@ begin
|
||||
FExpandSignSize := ThemeServices.GetDetailSize(Details).cx;
|
||||
end
|
||||
else
|
||||
FExpandSignSize := 9;
|
||||
FExpandSignSize := DefaultTreeNodeExpandSignSize;
|
||||
end;
|
||||
|
||||
procedure TCustomTreeView.SetExpandSignType(Value: TTreeViewExpandSignType);
|
||||
|
Loading…
Reference in New Issue
Block a user