Scrollable tab groups in appDesigner

5 views (last 30 days)
Bárbara Matos
Bárbara Matos on 10 May 2022
Answered: Githin George on 12 Oct 2023
Hello! I am using a tab group in appDesigner (image 1). In the code I put there some buttons and I want to have the possibility to see all the buttons. As you can see in image 2, the tab group is scrollable in the bottom (it scrolls left and rigth), but I want it also scrollable on the rigth size (to scroll up and down).
In previous code I had this done, but I changed something and I don't know what. The property scrollable on tab group is checked.
Do you have any suggestion? Thank you

Answers (1)

Githin George
Githin George on 12 Oct 2023
Hi Barbara Matos,
I can observe from the images that the ‘tab group’ widget is not enabling vertical scrolling even though there are buttons beyond the window limit. This behaviour is explained in the documentation for ‘scrollable’ property in ‘point 2’ of additional requirements. Please refer the link below.
As a workaround for the scroller to appear, the child objects should be on the 1st quadrant assuming that the bottom-left vertex of the group boundary is the origin as shown in the image.
I hope this helps.

Categories

Find more on Construct and Work with Object Arrays in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!