mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-19 16:19:28 +02:00
Fix DividerBevel.Font; save Style property, if none bold. Issue #0019763
git-svn-id: trunk@31876 -
This commit is contained in:
parent
81fef95622
commit
2f092a33ad
@ -175,10 +175,11 @@ constructor TDividerBevel.Create(AOwner: TComponent);
|
||||
begin
|
||||
inherited Create(AOwner);
|
||||
ControlStyle := [csSetCaption];
|
||||
Font.Style := Font.Style + [fsBold];
|
||||
FCaptionSpacing := 10;
|
||||
LeftIndent := 60;
|
||||
FNeedCalcSize := True;
|
||||
if (AOwner = nil) or not(csLoading in AOwner.ComponentState) then
|
||||
Font.Style := Font.Style + [fsBold];
|
||||
with GetControlClassDefaultSize do
|
||||
SetInitialBounds(0, 0, CX, CY);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user