diff options
author | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2007-09-14 10:42:32 +0000 |
---|---|---|
committer | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2007-09-14 10:42:32 +0000 |
commit | d585f7ec074b0ba0e97e2d9b528a18f96337c30e (patch) | |
tree | 5428ef0b9a40f554c8ccb1ceb0e9bf7d1aad6c4e | |
parent | a4059e6c08752c3d763b236d9b48cbafff4a6c11 (diff) | |
download | fpGUI-d585f7ec074b0ba0e97e2d9b528a18f96337c30e.tar.xz |
Change AutoSize property of TfpgLabel to be False by default.
-rw-r--r-- | src/gui/gui_label.pas | 4 |
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; |