Change jit.cellblock scrollbar width

AureL4L's icon

Hello,

I am trying to change the width of a jit.cellblock scroll bar. I am using my patcher on a tablet and the scroll bar is really small.

I have looked at the js painter file, but I am not sure if this is the right way to go about it.

Any advice would be welcome.

Thank you in advance.

Aurélien

TFL's icon

There doesn't seem to have an attribute for the [jit.cellblock] scrollbar width sadly. Ideally, jspainterfile would be an option to draw your own interface, but there is a lot of things that are not accessible (like getting click events).

The only option I can think of is to put your [jit.cellblock] full size in a bptacher that you can scroll using the usual window scrollbar, or with custom controls and scripting.

AureL4L's icon

Thanks for your reply. I can't use your option because the cellblock has many many rows... I really need to change the width of the cellblock scroll bar itself. I was wondering to overwrite an attribute from the mgraphics api but I can't find the cellblock attributes list (nor other elements).

TFL's icon

The number of rows isn't an issue in my suggestion.

The bpatcher scrollbars might not help you actually given how small they are too. But using sliders and scripting is viable as a custom solution. All you need to know is the total size of your cellblock in order to see all of its cells. Either it's a fixed value, either you can guess it from a few of its attributes.

Max Patch
Copy patch and select New From Clipboard in Max.

Roman Thilenius's icon

cellblock inside bpatcher & custom scrollbars (which move the bpatcher content)