Limit max_content_height
This commit is contained in:
parent
fefcf35352
commit
1cc99a640f
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue