]> cloud.milkyroute.net Git - dolphin.git/commit
Extend selection rectangle to left edge
authorTravis Burrows <tjburrows90@gmail.com>
Thu, 26 May 2022 12:38:22 +0000 (12:38 +0000)
committerFelix Ernst <fe.a.ernst@gmail.com>
Thu, 26 May 2022 12:38:22 +0000 (12:38 +0000)
commit58622f431b0d7d347333a4bc7b2f57fe17878f9d
tree672fb5b994c3886ef6902cafa64d8f706c36d6a7
parentca0d0bb322925e2119f13f76d8e9643d24cbf3e0
Extend selection rectangle to left edge

This commit changes it so the sizes of selection rectangles and hover
highlights in compact and details view mode is identical for all items.

Before this commit, selection rectangles in lists would have varying
indentation of the left edge of the selection rectangle depending on
the preview image's width-to-height ratio. This would cause a sort of
"ragged edge" in both compact and details list view when multiple items
were selected.

This commit doesn't change anything about icon view mode.

BUG: 453046
src/kitemviews/kstandarditemlistwidget.cpp