필터 지우기
필터 지우기

GUI Figure Hide bottom part of figure

조회 수: 2 (최근 30일)
ilas nasiopoulos
ilas nasiopoulos 2015년 10월 30일
편집: TastyPastry 2015년 10월 30일
I have a Gui figure with loads of buttons, texts, graphs, etc.
The top part of my figure is a summary of a calc, while below there is all the values and extra options for the calc when someone wants to go into more detail. So I would like to add an "advanced" button that could reveal the bottom part if needed, otherwise that is hidden. By doing a resize of the figure, I can't make it work. Since the position is defined from the bottom, I am always getting the lower part instead of the top part of the figure.
Any help please??
Many thanks, Elias

답변 (1개)

TastyPastry
TastyPastry 2015년 10월 30일
편집: TastyPastry 2015년 10월 30일
I'd say if you really needed the extra part to reveal from the bottom, you can write a resize function which adjusts the position of all the elements in the figure during resize.
If it were me though, I'd just rearrange the GUI so the extra part expands on the right, eliminating any GUI element rearrangement issues.
Then again, I wouldn't be surprised if there was a clever workaround for keeping original elements in place when the figure expands that I'm unaware of.

카테고리

Help CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by