필터 지우기
필터 지우기

Gui parts lost

조회 수: 3 (최근 30일)
Raldi
Raldi 2011년 12월 11일
Hey guys, I had created two guis and they where running fine until i tryed to run them on a netbook. Then in one of them the window size became too small and hides the title and in the other one all buttons and text that are supposed to show up are gone. Can i fix this or do i need to create new guis?
in the initialization i use
scrsz = get(0,'ScreenSize');
pos_a = get(gcf,'Position');
xr = scrsz(3)-pos_a(3);
xp = round(xr/2);
yr = scrsz(4)-pos_a(4);
yp = round(yr/2);
set(gcf,'Position',[xp yp pos_a(3) pos_a(4)]);
%Add image
[EDITED: Code formatted, Jan Simon]

채택된 답변

Daniel Shub
Daniel Shub 2011년 12월 11일
You can probably fix it. My guess is you defined the interface with pixel units. You probably want to use normalized units so you can use different screen sizes.
  댓글 수: 1
Raldi
Raldi 2011년 12월 11일
how can i do that?..or at least return them to theyr former state

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Language Fundamentals에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by