mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 11: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.
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			574 B
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			574 B
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="UTF-8"?>
 | |
| 
 | |
| <MyGUI type="Layout">
 | |
|     <Widget type="Window" skin="MW_Dialog" layer="LoadingScreen" position="0 0 300 48" align="Center" name="_Main">
 | |
| 
 | |
|         <Widget type="TextBox" skin="SandText" position="16 4 260 18" align="Stretch" name="LoadingText">
 | |
|             <Property key="TextAlign" value="Center"/>
 | |
|             <Property key="Caption" value="#{sInPrisonTitle}"/>
 | |
|         </Widget>
 | |
| 
 | |
|         <Widget type="ScrollBar" skin="MW_ProgressScroll_Loading" position="16 26 260 6" name="ProgressBar">
 | |
|         </Widget>
 | |
| 
 | |
|     </Widget>
 | |
| </MyGUI>
 |