*Qt: invalidate clientrect cache when scrollbar range is changed.part of issue #18993

git-svn-id: trunk@30068 -
This commit is contained in:
zeljko 2011-03-29 11:44:29 +00:00
parent 333a3192c5
commit a0ceb2bdb1

View File

@ -5835,9 +5835,12 @@ procedure TQtAbstractSlider.SlotRangeChanged(minimum: Integer; maximum: Integer)
begin
{ TODO: find out what needs to be done on rangeChanged event
Possibilities: repaint or recount pageSize() }
{$ifdef VerboseQt}
{$ifdef VerboseQt}
writeln('TQtAbstractSlider.rangeChanged() to min=',minimum,' max=',maximum);
{$endif}
{$endif}
if (FOwner <> nil) and
(FOwner.FChildOfComplexWidget = ccwScrollingWinControl) then
LCLObject.InvalidateClientRectCache(True);
end;
{------------------------------------------------------------------------------