1<?xml version="1.0" encoding="UTF-8"?> 2<interface> 3 <object class="GtkWindow" id="window1"> 4 <property name="title" translatable="yes">Constraints</property> 5 <child> 6 <object class="GtkBox"> 7 <property name="layout-manager"> 8 <object class="GtkConstraintLayout"> 9 <constraints> 10 <guide name="space" 11 min-width="10" min-height="10" 12 nat-width="100" nat-height="10" 13 max-width="200" max-height="20" 14 strength="strong"/> 15 <constraint target="button1" target-attribute="width" 16 relation="le" 17 constant="200" 18 multiplier="2.5" 19 strength="required"/> 20 <constraint target="super" target-attribute="start" 21 relation="eq" 22 source="button1" source-attribute="start" 23 constant="-8" 24 multiplier="100" 25 strength="strong"/> 26 <constraint target="button1" target-attribute="width" 27 relation="eq" 28 source="button2" source-attribute="left" 29 strength="medium"/> 30 <constraint target="button1" target-attribute="end" 31 relation="eq" 32 source="space" source-attribute="right" 33 strength="weak"/> 34 <constraint target="space" target-attribute="end" 35 relation="eq" 36 source="button2" source-attribute="center-x" 37 strength="required"/> 38 <constraint target="super" target-attribute="center-y" 39 relation="eq" 40 source="button2" source-attribute="baseline" 41 constant="8" 42 strength="required"/> 43 <constraint target="super" target-attribute="start" 44 relation="eq" 45 source="button3" source-attribute="start" 46 constant="-8" 47 strength="required"/> 48 <constraint target="super" target-attribute="end" 49 relation="eq" 50 source="button3" source-attribute="end" 51 constant="8" 52 strength="required"/> 53 <constraint target="super" target-attribute="top" 54 relation="eq" 55 source="button1" source-attribute="top" 56 constant="-8" 57 strength="required"/> 58 <constraint target="super" target-attribute="top" 59 relation="eq" 60 source="button2" source-attribute="top" 61 constant="-8" 62 strength="required"/> 63 <constraint target="button1" target-attribute="bottom" 64 relation="eq" 65 source="button3" source-attribute="top" 66 constant="-12" 67 strength="required"/> 68 <constraint target="button2" target-attribute="bottom" 69 relation="eq" 70 source="button3" source-attribute="top" 71 constant="-12" 72 strength="required"/> 73 <constraint target="button3" target-attribute="height" 74 relation="eq" 75 source="button1" source-attribute="height" 76 strength="required"/> 77 <constraint target="button3" target-attribute="height" 78 relation="eq" 79 source="button2" source-attribute="height" 80 strength="required"/> 81 <constraint target="super" target-attribute="bottom" 82 relation="eq" 83 source="button3" source-attribute="bottom" 84 constant="8" 85 strength="required"/> 86 </constraints> 87 </object> 88 </property> 89 <child> 90 <object class="GtkButton" id="button1"> 91 <property name="label">Child 1</property> 92 </object> 93 </child> 94 <child> 95 <object class="GtkButton" id="button2"> 96 <property name="label">Child 2</property> 97 </object> 98 </child> 99 <child> 100 <object class="GtkButton" id="button3"> 101 <property name="label">Child 3</property> 102 </object> 103 </child> 104 </object> 105 </child> 106 </object> 107</interface> 108