필터 지우기
필터 지우기

how to prevent images and text overlaping?

조회 수: 2 (최근 30일)
romasha
romasha 2014년 2월 1일
답변: Walter Roberson 2014년 2월 1일
hi, i m designing gui in which i have some static text and images slideshow but there is a problem that some part of my images show hiding behind text so what i do to make them seprate?

채택된 답변

Walter Roberson
Walter Roberson 2014년 2월 1일
Put the text in a different location. Or make the images smaller. Or make the axis they are displaying in smaller.
A more complex possibility is to create a uipanel that covers the portion of the figure were you want the images to appear, and set the 'Clipping' property 'on' for the uipanel. Then when you create the axes in which to display the images, make sure that the Parent of the axes is the uipanel. When you display the image, make sure the Parent of the image is the axes just mentioned. Now if the image tries to extend past its allocated space, the image will get clipped against the edge of the uipanel, preventing it from flowing over to where the static text is.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Import, Export, and Conversion에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by