Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    hiding scrollbars

    Hi,

    I would like to ask for a tip. I have Window 100 x 100 containing HLayout 300 x 100 with three Canvases 100 x 100.
    Window show bottom scrollbar and I am able to scroll to selected Canvas using touchpad or scrollbar.

    I would like to hide scrollbar (without showing native scrollbar), but still have the possiblity to scroll with touchpad. Is there a simple way of doing that?
    I do not want to use play with CSS ::-webkit-scrollbar. Should I create dummy Scrollbar Class that would be invisible or would not draw at all?

    Here is my setup:

    Code:
    isc.Window.create({
        showMinimizeButton: false,
        showHeader: false,
        width: 100,
        height: 100,
        items: [
          isc.HLayout.create({
          width: 300,
          height: "100%",
          members: [
            isc.Canvas.create({width: 100, height: "100%", backgroundColor: "red"}),
            isc.Canvas.create({width: 100, height: "100%", backgroundColor: "green"}),
            isc.Canvas.create({width: 100, height: "100%", backgroundColor: "blue"})
          ]
        })
        ]
      });
    Best regards,
    Janusz



    #2
    I have posted too soon... scrollbarSize: 0 did what I wanted.

    Comment

    Working...
    X