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?