mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Use WindowText color for custom painting on RDSplitterHandle
This commit is contained in:
@@ -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