Android Question libGDX lgScn2DScrollPanel Remove Scroll Bars

Discussion in 'Android Questions' started by walterf25, Dec 19, 2018.

  1. walterf25

    walterf25 Well-Known Member Licensed User

    Hi all, is there a way to remove the horizontal or vertical scroll bars on the lgScn2DScrollBar class, i read the documentation and there's a property to do it, but i don't think this property was wrapped in the library.

    setScrollbarsVisible(boolean visible)
    Does anyone have any idea how to accomplish this, i tried using JavaObject but i get a Method not found error.

    Any suggestions?

  2. Eme Fibonacci

    Eme Fibonacci Well-Known Member Licensed User

    Hi, can you try this code?

    walterf25 likes this.
  3. walterf25

    walterf25 Well-Known Member Licensed User

    Thanks, that works perfect.

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice