Resize GUI problem

조회 수: 13 (최근 30일)
Slobodan Djordjevi?
Slobodan Djordjevi? 2011년 12월 21일
Hello!
Quick question!
If I maximize my GUI, it maximizes. But when I click on a PushButton to refresh graph(new data) it throws me out. It still has the exact size, it just shifts a centimeter in diagonal direction.
Any idea why this is happening?
  댓글 수: 6
Naz
Naz 2011년 12월 21일
Set the 'units' property of all objects to 'normalized'. Hopefully that will help
Slobodan Djordjevi?
Slobodan Djordjevi? 2011년 12월 22일
Nope, does not do the trick! Thanks anyways :)

댓글을 달려면 로그인하십시오.

답변 (2개)

Aldin
Aldin 2011년 12월 21일
Zdravo
Imaš odmah na početku kada ulaziš u GUI (guide) opciju - GUI with Axes and Menus. Mislim da je to rješenje tvog problema.
  댓글 수: 1
Slobodan Djordjevi?
Slobodan Djordjevi? 2011년 12월 21일
Pa da, znam. I to sam odabrao na početku. Odabrao sam i "proportional resizing" u onom "GUI options". Ja mislim da je treba učiniti nešto u vezi sa ResizeFcn.

댓글을 달려면 로그인하십시오.


Jan
Jan 2011년 12월 22일
Sorry, I do not get it. What is the "maximize icon"? The one on the figure border?
Can you post the contents of the callback function started by the "refresh" button?

카테고리

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