 d4224cd325
			
		
	
	d4224cd325
	
	
	
		
			
			We need pay attention the the request mode when doing size allocation. The code was using request mode for requisition, but orientation for allocation. Also add a reftest that exhibits the issue, courtesy of Benjamin Otte.
		
			
				
	
	
		
			42 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			42 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="UTF-8"?>
 | |
| <interface>
 | |
|   <!-- interface-requires gtk+ 3.0 -->
 | |
|   <object class="GtkWindow" id="window1">
 | |
|     <property name="can_focus">False</property>
 | |
|     <property name="type">popup</property>
 | |
|     <child>
 | |
|       <object class="GtkGrid" id="grid1">
 | |
|         <property name="visible">True</property>
 | |
|         <property name="can_focus">False</property>
 | |
|         <child>
 | |
|           <object class="GtkLabel" id="label1">
 | |
|             <property name="visible">True</property>
 | |
|             <property name="can_focus">False</property>
 | |
|             <property name="label" translatable="yes">GNOME is awesome!</property>
 | |
|             <property name="wrap">True</property>
 | |
|           </object>
 | |
|           <packing>
 | |
|             <property name="left_attach">0</property>
 | |
|             <property name="top_attach">0</property>
 | |
|             <property name="width">1</property>
 | |
|             <property name="height">1</property>
 | |
|           </packing>
 | |
|         </child>
 | |
|         <child>
 | |
|           <object class="GtkLabel" id="label4">
 | |
|             <property name="visible">True</property>
 | |
|             <property name="can_focus">False</property>
 | |
|             <property name="label" translatable="yes">GNOME is awesome!</property>
 | |
|           </object>
 | |
|           <packing>
 | |
|             <property name="left_attach">0</property>
 | |
|             <property name="top_attach">1</property>
 | |
|             <property name="width">1</property>
 | |
|             <property name="height">1</property>
 | |
|           </packing>
 | |
|         </child>
 | |
|       </object>
 | |
|     </child>
 | |
|   </object>
 | |
| </interface>
 |