diff options
Diffstat (limited to 'src/gui/gui_label.pas')
-rw-r--r-- | src/gui/gui_label.pas | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/gui_label.pas b/src/gui/gui_label.pas index 96f638a7..66c88f8a 100644 --- a/src/gui/gui_label.pas +++ b/src/gui/gui_label.pas @@ -116,7 +116,8 @@ procedure TfpgLabel.ResizeLabel; begin Width := FFont.TextWidth(FText); Height := FFont.Height; - UpdateWindowPosition; + MoveAndResize(Left, Top, Width, Height); +// UpdateWindowPosition; end; constructor TfpgLabel.Create(AOwner: TComponent); |