Toggle Button Group are not scrollable

7 visualizaciones (últimos 30 días)
Md Sazzadul Ahsan
Md Sazzadul Ahsan el 18 de Ag. de 2023
Editada: Md Sazzadul Ahsan el 21 de Ag. de 2023
Primarily I am trying to make a toggle button group where the number of buttons are not fixed. It is generated based on a user input. The problem is, The field is not scrolling down... Even if i have checkted the scrollable button. What could be the problem?

Respuesta aceptada

Angelo Yeo
Angelo Yeo el 18 de Ag. de 2023
Editada: Angelo Yeo el 18 de Ag. de 2023
Long story short, stacking the buttons like the picture below will fix your issue.
I believe the the official doc for "Scrollable" is not describing its requirement well. In addition to the requirements described in the official doc, in order to trigger to 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.
  1 comentario
Md Sazzadul Ahsan
Md Sazzadul Ahsan el 21 de Ag. de 2023
Editada: Md Sazzadul Ahsan el 21 de Ag. de 2023
Thanks a lot :)
It is working.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by