Skip to main content
mSH.1
Associate III
June 13, 2022
Question

Is it possible to change the size of the scroll bar?

  • June 13, 2022
  • 2 replies
  • 1178 views

hello

​

Is it possible to change the size of the scroll bar?

​

​

I'm using a "scrollable container".

​

In TouchGFX Designer, the color of the scrollerbar can be changed, but the size cannot be changed.

​

I would like to know how to change the size of the scrollerbar.

​

0693W00000NrgXoQAJ.png​

​

​thank.

This topic has been closed for replies.

2 replies

Osman SOYKURT
ST Technical Moderator
June 13, 2022

Hello mSH.1,

Yes, you can change the size of your scrollbar with this function :

void setScrollbarWidth(uint8_t width);

Here's the api of a ScrollableContainer.

/Osman

ST Software Developer | TouchGFX
mSH.1
mSH.1Author
Associate III
June 13, 2022

hello Oskt

​

thank you for your reply.

I found the way I wanted with your help.