From df8e126641e727a76d39c0103fd70d822b60cd66 Mon Sep 17 00:00:00 2001 From: Alessandro Portale <alessandro.portale@qt.io> Date: Wed, 7 Jun 2017 12:17:12 +0200 Subject: [PATCH] Core: Set template list ScrollMode in "New Dialog" to ScrollPerPixel With the new big icons, the default ScrollMode = ScrollPerItem behavior seems a bit unsmooth. ScrollPerPixel fixes that. Change-Id: If4deb0f1323f70231af44a17d0b50eea9e37f10e Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io> --- src/plugins/coreplugin/dialogs/newdialog.ui | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/plugins/coreplugin/dialogs/newdialog.ui b/src/plugins/coreplugin/dialogs/newdialog.ui index 5edf6e82dea..efa530fde57 100644 --- a/src/plugins/coreplugin/dialogs/newdialog.ui +++ b/src/plugins/coreplugin/dialogs/newdialog.ui @@ -123,6 +123,9 @@ <property name="selectionBehavior"> <enum>QAbstractItemView::SelectRows</enum> </property> + <property name="verticalScrollMode"> + <enum>QAbstractItemView::ScrollPerPixel</enum> + </property> <property name="uniformItemSizes"> <bool>false</bool> </property> -- GitLab