QLabel and QStatusBar. Problems with Lines
-
Hi,
How are you setting up that status bar ?
-
i have 2 QLabels in my MainWindow and a StatusBar. This is the relevant Code.
QPixmap pixmap(":/icons/img/info.png"); mStatusBarLabel->setPixmap(pixmap); mStatusBarLabel->show(); mStatusBarText->show(); ui->sbStatus->addWidget(mStatusBarLabel); ui->sbStatus->addWidget(mStatusBarText); mStatusBarText->setText(text); ui->sbStatus->setStyleSheet( "QStatusBar {" "background-color: green;" "}"); -
Hi
Its a right side border style that each item in statusbar has.
You can doQStatusBar::item { border: 0px solid red; }to remove it.
-
Hi
Its a right side border style that each item in statusbar has.
You can doQStatusBar::item { border: 0px solid red; }to remove it.
