Example: I define the handle to be a simple rectangle with rounded corners, (corner radius) = (rectangle narrow width) / 2, thereby giving smooth "half round" ends to the handle (see attachment, but I've seen the same thing with other handle images). With the subject option deselected everything looks good. With the option selected, the ends appear squashed, as if stretched in one direction but not the other.
I use the following code in the <SCROLLBARS> section of the skin's main.xml file:
Code: [Select]
<Entry Name="VerticalHandle" Bitmap="Scrollbar_VerticalHandle.png" NumberImages="3" Margins="0,5,0,5" Scale="1" DrawMode="REGION_E_VSTRETCH"/>
<Entry Name="VerticalBackground" Bitmap="Scrollbar_VerticalBackground.png" NumberImages="1" Margins="0,5,0,5" Scale="1" />
<Entry Name="VerticalUpArrow" Bitmap="Scrollbar_VerticalUpArrow.png" NumberImages="3" Margins="0,0,0,0" Scale="1" />
<Entry Name="VerticalDownArrow" Bitmap="Scrollbar_VerticalDownArrow.png" NumberImages="3" Margins="0,0,0,0" Scale="1" />
Seems like a bug. I messed around with several other DrawMode values and did not find anything that changed the described behavior. In any case, it cost me several frustrating hours to unravel this story while modifying a skin.
General Comment re subject option: It's 100% an optical illusion, and I've decided never to use it. This option in no way affects the actual operation of selecting the scrollbar and dragging it. It does not make it easier to initially "hit" the scrollbar, and during scrolling the mouse can wander anywhere on the screen while continuing to scroll (a good thing), irrespective of this option.