Hi
I'm trying to increase the space between a QToolButton's icon and text. I'm assuming its one of the styles (padding, margin, border) but none of these are having any effect. What is the correct way to increase the space.
TIA
Mike
							
						
					
					
						
    
    
    
    
    
    
  
    
    
      
    
    
    
    
  Hi
I'm trying to increase the space between a QToolButton's icon and text. I'm assuming its one of the styles (padding, margin, border) but none of these are having any effect. What is the correct way to increase the space.
TIA
Mike
Use addStretch() to add a stretchable space (a QSpacerItem) with zero minimum size and stretch factor stretch to the end of this box layout.
							
						
					
					
						
    
    
    
    
    
    
  
    
    
      
    
    
    
    
  Thanks for replying but I'm not sure what you mean. Which box layout are you referring to? QToolButton or its parent container?
Bookmarks