2024-02-03 01:17 PM
Hi,
I have a question about using SlideMenu. I need this menu on the right side, so I'll set it to West.
My button is only 12px, I need the width of the slide out to be 60px. How does this component work? I'm trying to set it up, but it's behaving unexpectedly. There is a gap on the right edge or the entire extended part is not visible. When I change the indentation, the entire item is adjusted. Has anyone described what, where and how to set it up. There is only a brief description in the manual.
Thank you
JN
2024-02-06 05:18 AM - edited 2024-02-06 05:18 AM
Hello @JNova.0 ,
You can start working on Slide Menu when it is Expanded. You need to adjust the button that you are going to use to trigger expanding and collapsing next to the elements you want to show when expanding. Then, you can set the state to collapsed and set how many pixels should be visible. So, in your case, the width would be 60 and Collapsed: Visible Pixels 12.
There is an example specifically for Slide Menu, and you can see other use cases of it in TouchGFX Demo 1 (Graph Screen) and TouchGFX Demo 7 (SVG Sub-demo).
I hope this helps you