hideScrollBar parameter for widget.newScrollView

Dear Corona Labs,

While I appreciate the thought that went into the new vertical scrollbar that you added to the widget.newScrollView API in daily build #841, we really need a way to hide it!

I regularly use scrollViews in such a way that the scrollbar is a distraction that I’d rather not have included. And worse, a vertical scrollbar is useless and confusing when it shows up on an exclusively-horizontal scrollView - but in the current daily builds, we have no way to disable it!

Please add a boolean parameter such as “scrollView.hideScrollBar” so that we can choose whether or not to take advantage of the new scrollbar functionality.

Thanks!
-Jason [import]uid: 27636 topic_id: 27910 reply_id: 327910[/import]

Yes that would be very helpful

And I would also ask for some other properties, since the scrollBar is black, and I have some black layouts, wich is not very good.

scrollBarColor scrollBarAlpha [import]uid: 136061 topic_id: 27910 reply_id: 113024[/import]

have to second the request for color control over the scrollbar thumb and the bar region. Given the dark background of the app i am working on i spent a while wondering why the scroll bar was not showing up for me till i realized it was just visually lost in my background due to a lack of contrast with it.

thanks [import]uid: 118012 topic_id: 27910 reply_id: 114771[/import]

@Everyone: If you would like these changes/additions please file a feature request form here: http://developer.coronalabs.com/content/bug-submission

(ignore the fact it’s a bug submission form, just mark as a feature request)

Feel free to mention me in the description field. [import]uid: 84637 topic_id: 27910 reply_id: 114785[/import]

Thanks, Danny - I’ve submitted a bug/feature request (#15568), mentioning that it was your suggestion. I’ve also included a link to this forum post in the submission. [import]uid: 27636 topic_id: 27910 reply_id: 114796[/import]

@jason: Thank you for the submission, was nicely done.

@All: I have implemented the requests, being able to hide the scrollBar and also set the scrollBars color and alpha.

I will update the thread when I know which daily build the features will be included in.

Thanks. [import]uid: 84637 topic_id: 27910 reply_id: 114955[/import]

@Danny - thanks! You rock! A quick unrelated question: I posted a bug last week about native maps in the iOS6 beta. There’s a regression bug, and I filed a bug with Apple but they weren’t very helpful and I wanted to get Corona Labs involved. I got a “thanks for submitting” message in the web browser, but didn’t get an email receipt, so I don’t have a bug number. Did this bug get filed? Are you able to look up bugs by the user who submitted them? I can resubmit if necessary, but I don’t want to re-post the same thing twice. [import]uid: 27636 topic_id: 27910 reply_id: 115196[/import]

Danny, any news on this making to the daily builds? When you do lets us know please post the syntax necessary if the documentation is not also updated.

Cheers! [import]uid: 118012 topic_id: 27910 reply_id: 115725[/import]

Hey mslack, yes sorry for the delay. It is just undergoing testing and test cases have to be made to test it against to ensure no bugs crept in.

I call it “do it once and do it right” :slight_smile:

I am working as fast as possible on this so it shouldn’t be long.

As for syntax (this could change before release) :

(These are all passed as parameters)

hideScrollBar = true, --Hides the scrollbar when set to true, scrollbar is shown when set to false or omitted.  
  
scrollBarColor = {255, 0, 128}, --Sets the scrollbar color. If this is ommited or not a table, the scrollbar falls back to it's default color  

Also regarding widgets… While I was implementing these I took at the picker wheel and it’s lack of “soft-landing”. It now supports soft-landing a much requested addition. These changes and more will be available soon, after rigorous testing.

[import]uid: 84637 topic_id: 27910 reply_id: 115727[/import]

outstanding! But should there not also be a thumbColor. The scroll bar has a color and then the thumb needs a contrasting color that should be settable.

Just a thought [import]uid: 118012 topic_id: 27910 reply_id: 116247[/import]