Is there a way to force the datagrid to use the width (10
pixels) specified in the custom skin rather than the default width
(16) when adding a scroll bar to the datagrid?
The scrollpolicy on the datagrid is the default - auto. When
trying to determine if the scroll bar should be displayed or not,
the datagrid does not appear to use the skin width, but the default
width of the scrollbar. The result is the custom scroll bar is
overlayed on the dimensions of the standard scroll bar. There is a
6 pixel wide trough running on the right side of the scrollbar.
Clicking the header on the datagrid "pushes" the scroll bar into
the right position and gets rid of the white trough.