Home » U++ Library support » StatusBar&InfoCtrl » Adding some spacing to a statusbar 
	
		
		
			| Adding some spacing to a statusbar [message #18117] | 
			Wed, 10 September 2008 21:25  | 
		 
		
			
				
				
				
					
						  
						cas_
						 Messages: 20 Registered: July 2008  Location: Poland
						
					 | 
					Promising Member  | 
					 | 
		 
		 
	 | 
 
	
		Hello! 
 
I have several InfoCtrls put on a statusbar. Each of those InfoCtrls is preceeded by a label wrapped in FrameRight/FrameLeft template. (There is no simpler way to label InfoCtrl, is there?). Let me draw a simple diagram: 
 
[label_1][infoCtrl_1][label_2][infoCtrl_2]  
 
With the default placement, infoCtrl_1 and label_2 are too close to each other. I'd like to add some space in between to make things a bit prettier. I've been thinking on two possible solutions: 
 
1. aligning label_2 to right hand side and making it a few pixels wider than what's is required to display whole text 
2. adding some fake FrameRight< StaticRect > in between 
 
Is there a better way to achieve what I want? Maybe it's possible to explicitly add some margin to a frame?
		
		
		
 |  
	| 
		
	 | 
 
 
 |   
Goto Forum:
 
 Current Time: Tue Nov 04 08:41:13 CET 2025 
 Total time taken to generate the page: 0.18394 seconds 
 |