diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-03-30 21:25:51 +0000 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-03-31 18:00:33 +0200 |
commit | 0544fb193b949dbcff97e8c475063dd72583ad1d (patch) | |
tree | 9549f0367da66ba7ca2e23f2f513e15e34628f74 /vcl/source/treelist | |
parent | 601dc3ef9bd74b1948274c104c6c2ec877bc812c (diff) |
Resolves: tdf#157587 IconView scoll range not updated
IconView::SetUpdateMode(true) doesn't update the scroll
range for any changes that might have taken place while
updates were suspended.
The similar SvImpLBox::UpdateAll() for "normal" lists
does this update, so do the equivalent update here too.
Noticeable since:
commit 666925f2ab06e690c41c470713dc83f2d752bfb7
Date: Sat Jun 3 15:23:15 2023 +0100
perf: use freeze/thaw around block insert of multiple icons
Change-Id: I318fc4509c6906161eabf3b312f311cb97ac063a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165584
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'vcl/source/treelist')
-rw-r--r-- | vcl/source/treelist/iconviewimpl.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/treelist/iconviewimpl.cxx b/vcl/source/treelist/iconviewimpl.cxx index 048e193d4f4b..35025d1c81f4 100644 --- a/vcl/source/treelist/iconviewimpl.cxx +++ b/vcl/source/treelist/iconviewimpl.cxx @@ -467,6 +467,7 @@ void IconViewImpl::SyncVerThumb() void IconViewImpl::UpdateAll() { FindMostRight(); + AdjustScrollBars(m_aOutputSize); SyncVerThumb(); FillView(); ShowVerSBar(); |