From d585f7ec074b0ba0e97e2d9b528a18f96337c30e Mon Sep 17 00:00:00 2001 From: graemeg Date: Fri, 14 Sep 2007 10:42:32 +0000 Subject: Change AutoSize property of TfpgLabel to be False by default. --- src/gui/gui_label.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/gui_label.pas b/src/gui/gui_label.pas index 5f0fa5a5..6478ae7b 100644 --- a/src/gui/gui_label.pas +++ b/src/gui/gui_label.pas @@ -34,7 +34,7 @@ type destructor Destroy; override; property Font: TfpgFont read FFont; published - property AutoSize: boolean read FAutoSize write SetAutoSize default True; + property AutoSize: boolean read FAutoSize write SetAutoSize default False; property Text: string read FText write SetText; property FontDesc: string read GetFontDesc write SetFontDesc; property Color: TfpgColor read FColor write SetColor; @@ -127,7 +127,7 @@ begin FWidth := 80; FColor := clText1; FBackgroundColor := clWindowBackground; - FAutoSize := True; + FAutoSize := False; end; destructor TfpgLabel.Destroy; -- cgit v1.2.3-70-g09d2