PDA

View Full Version : problem with statusbar



philipp1
13th October 2006, 06:29
Good day. I have a problem with distribution of two labels in status bar.
xlabel = new QLabel(this );
ylabel = new QLabel(this);
statusBar()->addWidget(xslabel);
statusBar()->addWidget(ylabel);
The problem is: ylabel is shown over the xlabel. How can I put it near each other?

e8johan
13th October 2006, 07:12
Look up addPermanentWidget at doc.trolltech.com .