framework-widget
framework-widget copied to clipboard
newScrollview - custom scroll bar fail
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
Thanks for the report, we'll fix it soon.