mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-30 16:56:38 +00:00 
			
		
		
		
	After MyGUI commit cfdaf5f , the 'Client' area will be used for every type of widget, whereas previously it would only be used for some widgets like 'Window'. Use 'Window' widget where the client was always used. This fixes a wrong margin when built with cfdaf5f or later.
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			699 B
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			699 B
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="UTF-8"?>
 | |
| 
 | |
| <MyGUI type="Layout">
 | |
|     <!-- The entire screen -->
 | |
|     <Widget type="Widget" layer="LoadingScreen" position="0 0 300 300" name="_Main" align="Stretch">
 | |
| 
 | |
|         <Widget type="Window" skin="MW_Dialog" position="0 245 300 48" align="Bottom HCenter" name="LoadingBox">
 | |
| 
 | |
|             <Widget type="TextBox" skin="SandText" position="16 5 260 18" align="Stretch" name="LoadingText">
 | |
|                 <Property key="TextAlign" value="Center"/>
 | |
|             </Widget>
 | |
| 
 | |
|             <Widget type="ScrollBar" skin="MW_ProgressScroll_Loading" position="16 26 260 6" align="Top HCenter" name="ProgressBar">
 | |
|             </Widget>
 | |
| 
 | |
|         </Widget>
 | |
| 
 | |
|     </Widget>
 | |
| </MyGUI>
 |