Limit max_content_height

This commit is contained in:
Xavier Del Campo Romero 2023-09-11 21:47:22 +02:00
parent fefcf35352
commit 1cc99a640f
Signed by: xavi
GPG Key ID: 84FF3612A9BF43F2
4 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@
<child>
<object class="GtkScrolledWindow">
<property name="propagate_natural_height">True</property>
<property name="max_content_height">500</property>
<property name="max_content_height">128</property>
<property name="hscrollbar_policy">never</property>
<property name="expand">True</property>
<property name="visible">True</property>

View File

@ -348,7 +348,7 @@
<property name="visible">True</property>
<child>
<object class="GtkScrolledWindow">
<property name="max_content_height">300</property>
<property name="max_content_height">128</property>
<property name="propagate_natural_height">True</property>
<property name="hscrollbar_policy">never</property>
<property name="visible">True</property>

View File

@ -20,7 +20,7 @@
</child>
<child>
<object class="GtkScrolledWindow">
<property name="max_content_height">500</property>
<property name="max_content_height">128</property>
<property name="propagate_natural_height">True</property>
<property name="visible">True</property>
<child>

View File

@ -42,7 +42,7 @@ public class ChatTextView : ScrolledWindow {
private SpellChecker spell_checker;
construct {
max_content_height = 300;
max_content_height = 128;
propagate_natural_height = true;
this.add(text_view);