summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/gui_label.pas4
1 files 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;