Fix for TOvcVirtualListBox in form designer when IntegralHeight=True and Laz 0.9.29/30.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1474 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
macpgmr
2011-01-30 22:35:42 +00:00
parent 0c5b5b1913
commit e00085bbd9

View File

@ -2487,7 +2487,7 @@ begin
if (csDesigning in ComponentState) and
not (csLoading in ComponentState) then
if FIntegralHeight then
Msg.Height := ClientHeight;
Msg.Height := Height; //was ClientHeight, but no longer works on Windows
{$ENDIF}
vlbCalcFontFields;
vlbInitScrollInfo;