framework-widget icon indicating copy to clipboard operation
framework-widget copied to clipboard

newScrollview - custom scroll bar fail

Open mimetic opened this issue 9 years ago • 1 comments

The custom scroll bar does not work as expected. The width of the custom bar is too small. scrollBarOptions. The following in widget_scrollview.lua at 759 is incomplete. It should include values for frameWidth and frameHeight.

    -- ScrollBar options
    if nil ~= customOptions.scrollBarOptions then
        opt.scrollBarOptions =
        {
            sheet = customOptions.scrollBarOptions.sheet,
            topFrame = customOptions.scrollBarOptions.topFrame,
            middleFrame = customOptions.scrollBarOptions.middleFrame,
            bottomFrame = customOptions.scrollBarOptions.bottomFrame,
        }
    else
        opt.scrollBarOptions = {}
    end

mimetic avatar Apr 15 '15 18:04 mimetic

Thanks for the report, we'll fix it soon.

alexf-corona avatar Apr 16 '15 17:04 alexf-corona