main_window: wrap room_info GtkBox in GtkScrolledWindow

The room_info labels could cause the leaflet to fold before
they could ellipsize, causing Fractal to fold at the wrong width. By wrapping in ScrolledWindow we work around that issue.
This commit is contained in:
Christopher Davis 2019-01-29 12:12:46 -05:00
parent 3b69e8e898
commit 36c1d827b3

View file

@ -874,6 +874,15 @@
</object> </object>
</child> </child>
<child type="title"> <child type="title">
<object class="GtkScrolledWindow">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="hscrollbar_policy">never</property>
<property name="vscrollbar_policy">never</property>
<property name="propagate_natural_height">True</property>
<property name="propagate_natural_width">False</property>
<child>
<object class="GtkBox" id="room_info"> <object class="GtkBox" id="room_info">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
@ -910,6 +919,8 @@
</child> </child>
</object> </object>
</child> </child>
</object>
</child>
<child> <child>
<object class="GtkMenuButton" id="room_menu_button"> <object class="GtkMenuButton" id="room_menu_button">
<property name="visible">True</property> <property name="visible">True</property>