Use per pixel scrolling in tree widget showing the DB structure

Do not scroll per item but per pixel when scrolling in the tree widget
in the DB structure tab of the main window. This makes scrolling much
more comfortable when the schema string includes line breaks.
This commit is contained in:
Martin Kleusberg
2013-01-03 14:41:24 +01:00
parent 8290a035e8
commit d446df58a0

View File

@@ -47,6 +47,9 @@
<property name="alternatingRowColors">
<bool>true</bool>
</property>
<property name="verticalScrollMode">
<enum>QAbstractItemView::ScrollPerPixel</enum>
</property>
<property name="animated">
<bool>true</bool>
</property>
@@ -290,8 +293,8 @@
<property name="geometry">
<rect>
<x>0</x>
<y>-165</y>
<width>763</width>
<y>0</y>
<width>354</width>
<height>653</height>
</rect>
</property>