In landscape view, I have two panels, each about half screen size.
In the left panel ('panelheader'), I have on top a spinner, child of panelheader, anchored to top and both sides (of panelheader)
In designercode I set
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
 but the spinner does not follow this measures. (380dip is just for testing)
Erel writes in his tutorial: "By changing the horizontal or vertical anchors we can set the position relative to other sides of the screen or parent view. "
In my case, the spinner seems to be anchored to activity-border, it keeps its width and does not react to change of panelheader.width.
What is wrong? what must I change?
(Situation 
		
		
	
	
			
			In the left panel ('panelheader'), I have on top a spinner, child of panelheader, anchored to top and both sides (of panelheader)
In designercode I set
			
				B4X:
			
		
		
		PnlHeader.SetLeftAndRight(0,380dip)Erel writes in his tutorial: "By changing the horizontal or vertical anchors we can set the position relative to other sides of the screen or parent view. "
In my case, the spinner seems to be anchored to activity-border, it keeps its width and does not react to change of panelheader.width.
What is wrong? what must I change?
(Situation

 
				 
 
		 
 
		 
 
		 
 
		