mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-13 15:49:33 +00:00
Use WindowText color for custom painting on RDSplitterHandle
This commit is contained in:
1 parent
a504355900
commit
886ec3190c
1 file changed
+3
-2
@@ -65,8 +65,9 @@ bool RDSplitterHandle::collapsed() const
|
||||
void RDSplitterHandle::paintEvent(QPaintEvent *event)
|
||||
{
|
||||
QPainter painter(this);
|
||||
painter.setPen(Qt::black);
|
||||
painter.setBrush(Qt::SolidPattern);
|
||||
QColor col = palette().color(QPalette::WindowText);
|
||||
painter.setPen(col);
|
||||
painter.setBrush(QBrush(col));
|
||||
|
||||
int w = width();
|
||||
int h = height();
|
||||
|
||||
Reference in new issue
Block a user