diff options
author | Graeme Geldenhuys <graemeg@gmail.com> | 2011-01-13 00:02:49 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graemeg@gmail.com> | 2011-01-13 00:02:49 +0200 |
commit | 9029b019267eed33f5e2a879d28200eefbd7a727 (patch) | |
tree | ac8589742c51ac29d1b6e00d383c160b9a06c143 | |
parent | 9c841e73826129758c16d6d7e04b8cdca72b8557 (diff) | |
download | fpGUI-9029b019267eed33f5e2a879d28200eefbd7a727.tar.xz |
Spinedit: extra check is required due to new resizing behaviour.
-rw-r--r-- | src/gui/fpg_spinedit.pas | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/fpg_spinedit.pas b/src/gui/fpg_spinedit.pas index 99c4e697..5c00c91b 100644 --- a/src/gui/fpg_spinedit.pas +++ b/src/gui/fpg_spinedit.pas @@ -333,7 +333,8 @@ end; procedure TfpgAbstractSpinEdit.HandleResize(AWidth, AHeight: TfpgCoord); begin inherited HandleResize(AWidth, AHeight); - ResizeChildren; + if not (csLoading in ComponentState) then + ResizeChildren; end; function TfpgAbstractSpinEdit.GetButtonsBackgroundColor: TfpgColor; |