aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Hand <samuel.hand@openmailbox.org>2018-08-12 11:23:32 +0100
committerSamuel Hand <samuel.hand@openmailbox.org>2018-08-12 11:23:32 +0100
commitc59faad5bf62b9e9a124a6e330745885c993ea21 (patch)
treeda15fb9116249f923bf4c72f3b2927193fb447e4
parente2932af18f31d8457c3d72ba9d3b80d912934c7f (diff)
downloaddino-c59faad5bf62b9e9a124a6e330745885c993ea21.tar.gz
dino-c59faad5bf62b9e9a124a6e330745885c993ea21.zip
Make the key lists scrollable
-rw-r--r--plugins/omemo/data/contact_details_dialog.ui24
1 files changed, 20 insertions, 4 deletions
diff --git a/plugins/omemo/data/contact_details_dialog.ui b/plugins/omemo/data/contact_details_dialog.ui
index eef82f7f..dc97cb56 100644
--- a/plugins/omemo/data/contact_details_dialog.ui
+++ b/plugins/omemo/data/contact_details_dialog.ui
@@ -188,9 +188,17 @@
<object class="GtkFrame">
<property name="visible">True</property>
<child>
- <object class="GtkListBox" id="new_keys_listbox">
+ <object class="GtkScrolledWindow">
+ <property name="hscrollbar_policy">never</property>
+ <property name="vscrollbar_policy">automatic</property>
<property name="visible">True</property>
- <property name="selection-mode">none</property>
+ <property name="propagate_natural_height">True</property>
+ <child>
+ <object class="GtkListBox" id="new_keys_listbox">
+ <property name="visible">True</property>
+ <property name="selection-mode">none</property>
+ </object>
+ </child>
</object>
</child>
</object>
@@ -216,9 +224,17 @@
<object class="GtkFrame">
<property name="visible">True</property>
<child>
- <object class="GtkListBox" id="keys_listbox">
+ <object class="GtkScrolledWindow">
+ <property name="hscrollbar_policy">never</property>
+ <property name="vscrollbar_policy">automatic</property>
<property name="visible">True</property>
- <property name="selection-mode">none</property>
+ <property name="propagate_natural_height">True</property>
+ <child>
+ <object class="GtkListBox" id="keys_listbox">
+ <property name="visible">True</property>
+ <property name="selection-mode">none</property>
+ </object>
+ </child>
</object>
</child>
</object>