1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-12-14 00:17:35 +00:00

new-call-box: Clamp everything

This prevents items from stretching out of bounds.
This commit is contained in:
Christopher Davis 2021-11-23 20:07:39 -08:00 committed by Evangelos Ribeiro Tzaras
parent fe7ebf51ce
commit aaf87e5e89

View file

@ -12,6 +12,19 @@
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<property name="visible">True</property> <property name="visible">True</property>
<child>
<object class="HdyClamp">
<property name="visible">True</property>
<property name="vexpand">True</property>
<property name="maximum-size">300</property>
<child>
<object class="HdyClamp">
<property name="visible">True</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="orientation">vertical</property>
<child> <child>
<object class="GtkListBox" id="origin_list_box"> <object class="GtkListBox" id="origin_list_box">
<property name="visible">True</property> <property name="visible">True</property>
@ -65,10 +78,6 @@
<property name="fill">True</property> <property name="fill">True</property>
</packing> </packing>
</child> </child>
<child>
<object class="HdyClamp">
<property name="visible">True</property>
<property name="maximum-size">250</property>
<child> <child>
<object class="GtkBox"> <object class="GtkBox">
<property name="visible" bind-source="CallsNewCallBox" bind-property="numeric-input-only" bind-flags="sync-create"/> <property name="visible" bind-source="CallsNewCallBox" bind-property="numeric-input-only" bind-flags="sync-create"/>
@ -130,8 +139,6 @@
</child> </child>
</object> </object>
</child> </child>
</object>
</child>
<child> <child>
<object class="GtkListBox" id="result_list"> <object class="GtkListBox" id="result_list">
<property name="visible" bind-source="CallsNewCallBox" bind-property="numeric-input-only" bind-flags="sync-create|invert-boolean"/> <property name="visible" bind-source="CallsNewCallBox" bind-property="numeric-input-only" bind-flags="sync-create|invert-boolean"/>
@ -170,6 +177,12 @@
</child> </child>
</object> </object>
</child> </child>
</object>
</child>
</object>
</child>
</object>
</child>
</template> </template>
<object class="GtkGestureLongPress" id="long_press_back_gesture"> <object class="GtkGestureLongPress" id="long_press_back_gesture">
<property name="widget">backspace</property> <property name="widget">backspace</property>