[PyKDE] Vertical alignment of a QLabel in the StatusBar..
    Gordon Tyler 
    gordon at doxxx.net
       
    Fri Sep  3 05:44:55 BST 2004
    
    
  
Timothy Grant wrote:
> Thanks to some help from here I've conquered my first geometry
> management problem.
> 
> I now have a QStatusBar into which I am placing some text in a QLabel object.
> 
> It works exactly as advertised. However, the text appears low on the
> StatusBar, and I'd love to have some control over it's vertical
> placement as it looks a bit odd.
> 
> Is this possible?
Try: statusBar.setAlignment(Qt.AlignVCenter)
The PyQt API corresponds very closely to the normal Qt API, so you can 
use the http://doc.trolltech.com/ reference to find out stuff like this.
Ciao,
Gordon
    
    
More information about the PyQt
mailing list