As you can see in the image, setting "background-color" style property together with using QStyle::SH_ScrollView_FrameOnlyAroundContents style hint property, renders incorectly. A workaround this is to change QPalette::Base color and assign the new palette to the tableview, but this is cumbersome.

This bug is very anoying.

Any suggestions how i can fix this? I tried to find where the widget frame and background are rendered but it is not trivial.