draws tree
diff --git a/demo/chatdialog.ui b/demo/chatdialog.ui
index ed466e7..072d139 100644
--- a/demo/chatdialog.ui
+++ b/demo/chatdialog.ui
@@ -17,7 +17,7 @@
<number>6</number>
</property>
<item>
- <layout class="QHBoxLayout">
+ <layout class="QVBoxLayout">
<property name="margin">
<number>0</number>
</property>
@@ -25,6 +25,13 @@
<number>6</number>
</property>
<item>
+ <widget class="DigestTreeViewer" name="treeViewer">
+ <property name="focusPolicy">
+ <enum>Qt::NoFocus</enum>
+ </property>
+ </widget>
+ </item>
+ <item>
<widget class="QTextEdit" name="textEdit">
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
@@ -34,13 +41,6 @@
</property>
</widget>
</item>
- <item>
- <widget class="QListWidget" name="listWidget">
- <property name="focusPolicy">
- <enum>Qt::NoFocus</enum>
- </property>
- </widget>
- </item>
</layout>
</item>
<item>