mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-19 05:19:25 +02:00
*Qt: invalidate clientrect cache when scrollbar range is changed.part of issue #18993
git-svn-id: trunk@30068 -
This commit is contained in:
parent
333a3192c5
commit
a0ceb2bdb1
@ -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;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user