]> cloud.milkyroute.net Git - dolphin.git/commit
KItemListView: add view position in scrollToItem()
authorAmol Godbole <amolagodbole@gmail.com>
Sat, 14 Oct 2023 02:08:35 +0000 (21:08 -0500)
committerMéven Car <meven.car@kdemail.net>
Tue, 17 Oct 2023 15:47:34 +0000 (15:47 +0000)
commita59d9f85fa770a00d10e66025e102c736e18fa70
tree9f19443512de2c0adc1fa75082ba27495188ca3f
parentd1035e7f090a5c810e72e37a03df81b2a4389747
KItemListView: add view position in scrollToItem()

An item, on being scrolled to, is always located at the nearest edge of
the view. This is not always convenient. Allow specifying where the item
should be positioned with respect to the view in scrollToItem().

BUG: 423884
src/kitemviews/kitemlistcontroller.cpp
src/kitemviews/kitemlistview.cpp
src/kitemviews/kitemlistview.h
src/views/dolphinview.cpp