mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Fill in the background even for line edits without frames
This commit is contained in:
@@ -995,6 +995,10 @@ void RDStyle::drawPrimitive(PrimitiveElement element, const QStyleOption *opt, Q
|
||||
o.state &= ~State_Sunken;
|
||||
drawRoundedRectBorder(&o, p, widget, QPalette::Base, false);
|
||||
}
|
||||
else
|
||||
{
|
||||
p->fillRect(opt->rect.adjusted(0, 0, -1, -1), opt->palette.brush(QPalette::Base));
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user