Commit 26a0ea0d authored by Jan Möbius's avatar Jan Möbius

Missing Padding. Closes #1967

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@17997 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 042cc154
......@@ -211,7 +211,7 @@ void MemInfoPlugin::setProgressBarStyleSheet(QProgressBar* _bar)
//save color in a 32bit integer
const quint32 color = (red<<16)+(green<<8)+blue;
_bar->setStyleSheet(QString(" QProgressBar { border: 2px solid grey; border-radius: 2px; text-align: center; } QProgressBar::chunk {background-color: #%1; width: 1px;}").arg(color,0,16));
_bar->setStyleSheet(QString(" QProgressBar { border: 2px solid grey; border-radius: 2px; text-align: center; } QProgressBar::chunk {background-color: #%1; width: 1px;}").arg(color,6,16,QChar('0')));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment