Added dynamic height to text box (#112)
Co-authored-by: Jeffry Samuel <69224322+Jeffser@users.noreply.github.com>
This commit is contained in:
parent
1598e1e60a
commit
ccc92bd541
@ -213,16 +213,23 @@
|
|||||||
</style>
|
</style>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkScrolledWindow">
|
<object class="GtkScrolledWindow">
|
||||||
|
<property name="max-content-height">300</property>
|
||||||
<property name="margin-start">12</property>
|
<property name="margin-start">12</property>
|
||||||
<property name="margin-end">12</property>
|
<property name="margin-end">12</property>
|
||||||
|
<property name="propagate-natural-height">true</property>
|
||||||
|
<style>
|
||||||
|
<class name="message-input"/>
|
||||||
|
<class name="undershoot-bottom"/>
|
||||||
|
<class name="undershoot-top"/>
|
||||||
|
</style>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkTextView" id="message_text_view">
|
<object class="GtkTextView" id="message_text_view">
|
||||||
<style>
|
<style>
|
||||||
<class name="message_text_view" />
|
<class name="message_text_view" />
|
||||||
</style>
|
</style>
|
||||||
<property name="wrap-mode">word</property>
|
<property name="wrap-mode">word</property>
|
||||||
<property name="top-margin">6</property>
|
<property name="top-margin">18</property>
|
||||||
<property name="bottom-margin">6</property>
|
<property name="bottom-margin">18</property>
|
||||||
<property name="hexpand">true</property>
|
<property name="hexpand">true</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user