Skip to main content
Associate III
June 30, 2023
Question

How the Image is scrolled using the Scrollable Container,in the Touch GFX Designer?

  • June 30, 2023
  • 7 replies
  • 7306 views

Hello all,

I am trying to scroll an image in the STM32F746G Discovery Board, using the Scrollable Container widget that is available in the Examples of Touch GFX Designer through STM32CubeIDE. But unfortunately the image is not scrolling and displaying a static image. I've referred to the documentation for the Scrollable Container in the Touch GFX Designer but the information given, is not enough for displaying the dynamic image(scrolling of an image) on the Board.

Are there any external peripherals to be configured for scrolling the image and how to configure the peripherals in STM32CubeIDE?

@https://support.touchgfx.com/docs/development/ui-development/ui-components/containers/scrollable-container

Thanks.

This topic has been closed for replies.

7 replies

MM..1
Chief III
June 30, 2023

Are you sure , that you place image into container in hierarchy list?

ShivaniAuthor
Associate III
July 2, 2023

Hii,

I've added a background Image to the screen and later I've taken a scrollable container and I placed a long text in it (479 x 696). After that I opened the .project file in STM32CubeIDE from the Touch GFX Designer. Then only the static image is displayed in the STM32F746G Discovery Board(420 x 272). How can I get the scrolled Image?

MM..1
Chief III
July 2, 2023

Work your TouchGFX idea in simulator?

ShivaniAuthor
Associate III
July 3, 2023

I tried with the simulator too.But only the static image is displaying.Is there any widgets or other things to be added in the .project file? If so, mention them clearly what is to be added in the file to get the scrolled image.

 

MM..1
Chief III
July 3, 2023

As i write you need reorder and hierarchy objects, show screenshot from your touchgfx panel

MM..1
Chief III
July 3, 2023

Try explain , my simulator work ok 

 

ShivaniAuthor
Associate III
July 3, 2023

Hello,

Thank you for your response..Now I got an idea and I have implemented it successfully on simulator..

And now my doubt is how the scrolling is initiated by touch?

MM..1
Chief III
July 3, 2023
MM..1
Chief III
July 3, 2023

And your ticket ask image scroll, but backgroundimage isnt part of container here

MM1_0-1688385904973.png

 

ShivaniAuthor
Associate III
July 5, 2023

Hello @MM..1 

Yes, I need an Image to be scrollable, but how the image is added in the Scrollable container, like in the example longTxt is in the part of scrollableContainer1.Scrollable_Container.png

MM..1
Chief III
July 4, 2023

I mean when your touch driver works , this work as in simulator

MM..1
Chief III
July 5, 2023

Simply when you place red arrow click mouse and hold ... drag to any other level in tree