uidropdown does not extend beyond its parent figure
이전 댓글 표시
Hey,
I'm working on a small options window which contains a drop down created with the uidropdown function. When opening the drop down menu to select an option, the menu does not extend beyond its parent (which is fatal since the window is too small to navigate the drop down properly).
Since I'm rewriting an old GUI I know that a popupmenu created with the uicontrol function does extend beyond its parent figure but this is not available for apps created with uifigure.
Therefore, is there a workaround that does not involve using uicontrol or am I just missing an important uidropdown property?
채택된 답변
추가 답변 (1개)
cr
2022년 12월 5일
0 개 추천
You are right, this doesn't seem to be a bug. Since the child objects cant extend beyond parent containers. However, in R2022b on OSX the issue isn't fatal. I'm still able to select an item far down as I can see a scroll bar.

댓글 수: 2
Max Kehrer
2022년 12월 6일
cr
2022년 12월 6일
You may try replacing dropdown with a list box. That would create a small scrollbar and will allow you to do selections.
카테고리
도움말 센터 및 File Exchange에서 App Building에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!