Scrollable tab groups in appDesigner

3 次查看(过去 30 天)
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

回答(1 个)

Githin George
Githin George 2023-10-12
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.

类别

Help CenterFile Exchange 中查找有关 Construct and Work with Object Arrays 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by