SMART datagrid v.1 > Classes > ScrollBar

Back  Forward

DataLudi.ScrollBar.barWidth  property

Pixel单位的滚动条宽度。 

最小值为8pixel。 

默认值为16.

Getter
function barWidth(): Integer
Setter
function setBarWidth(value: Integer)
Code -1
    // 收缩滚动条的宽度。
    grid.vscrollBar().setBarWidth(12);
    
    // 或
    grid.setOptions({
        vscrollBar: {
            barWidth: 12
        },
        hscrollBar: {
            barWidth: 14
        }
    });
See Also
buttonLocation
barIndent
minThumbSize
GridBase.hscrollBar
GridBase.vscrollBar
Examples
滚动条例题