mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Add padding next to check indicators in item views for RDStyle
This commit is contained in:
@@ -543,6 +543,8 @@ QRect RDStyle::subElementRect(SubElement element, const QStyleOption *opt, const
|
||||
{
|
||||
QRect ret = opt->rect;
|
||||
|
||||
if(element == QStyle::SE_ItemViewItemCheckIndicator)
|
||||
ret.setLeft(ret.left() + 4);
|
||||
ret.setWidth(Constants::CheckWidth);
|
||||
|
||||
int extra = ret.height() - Constants::CheckHeight;
|
||||
|
||||
Reference in New Issue
Block a user