diff options
author | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2014-01-14 16:37:47 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-15 12:41:46 +0100 |
commit | 5d1d088d65bef8ba3d774366b455661662b564cc (patch) | |
tree | 73b65daceb0b52ede25491c87a78a34d6beae3b1 | |
parent | 372392cf6e14ececbaff8aa54d2a7230ad17ba5f (diff) | |
download | qttools-5d1d088d65bef8ba3d774366b455661662b564cc.tar.gz qttools-5d1d088d65bef8ba3d774366b455661662b564cc.tar.bz2 qttools-5d1d088d65bef8ba3d774366b455661662b564cc.zip |
Revert "Qt Designer: Fix scrolling of widget box."
This reverts commit 082efca145630db2d660d7241f7ae78d80f27e44.
Following the revert of 934f06220391eb0e0ebf66a2eb037f48adb4c43c
in qtbase.
Task-number: QTBUG-34953
Task-number: QTBUG-33906
Change-Id: Ib839ef4a3b43e136ab1ff298606d5b2945b2a51b
Reviewed-by: Thorbjørn Lindeijer <bjorn@lindeijer.nl>
Reviewed-by: Thorbjørn Lund Martsum <tmartsum@gmail.com>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
-rw-r--r-- | src/designer/src/components/widgetbox/widgetboxtreewidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/designer/src/components/widgetbox/widgetboxtreewidget.cpp b/src/designer/src/components/widgetbox/widgetboxtreewidget.cpp index ccf73e76..27326725 100644 --- a/src/designer/src/components/widgetbox/widgetboxtreewidget.cpp +++ b/src/designer/src/components/widgetbox/widgetboxtreewidget.cpp @@ -111,7 +111,7 @@ WidgetBoxTreeWidget::WidgetBoxTreeWidget(QDesignerFormEditorInterface *core, QWi header()->hide(); header()->setSectionResizeMode(QHeaderView::Stretch); setTextElideMode(Qt::ElideMiddle); - setVerticalScrollMode(ScrollPerItem); + setVerticalScrollMode(ScrollPerPixel); setItemDelegate(new SheetDelegate(this, this)); |