Scrollable Property only works above a Panel's border but not Below

1 view (last 30 days)
I've been trying to create a panel that adds and removes new edit fields with the click of a button. The idea is to be able to add as many fields as the user desires, which makes scrolling a critical feature. However, when I start adding fields under an initial edit field the scrolling feature never kicks in, but if I add them on top of the initial edit field the scrolling feature kicks in once I reach the border of the panel. Basically, the scrollable property only seems to be working in one direction. This also happens if I add fields and buttons outside the border from the start.
Should I just update my MATLAB version from R2021a to R2021b?
I guess I can work around it by shifting everything inside the panel upwards instead of adding fields downwards. However this is kind of annoying. I'm not sure if this is "fixed" in the new revision, but if its not I think it would be a good improvement.

Answers (1)

Pranjal Kaura
Pranjal Kaura on 31 Dec 2021
Hey Luis,
Thank you for bringing this to our attention. I have brought this issue to the notice of our developers. They will investigate the matter further.

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!