Verticalalignment for edit text GUI

조회 수: 4 (최근 30일)
darissa
darissa 2015년 1월 16일
댓글: Margareta Drozdikova 2018년 4월 11일
Is there verticalalignment option in uicontrol? I need to make the text centre in the edit text box.

답변 (1개)

Zoltán Csáti
Zoltán Csáti 2015년 1월 16일
Unfortunately there is no such property for uicontrols just for text objects. However, if you are proficient in Java, you can solve it. An other workaround is the following: create an axes object and within that, create a text object. Then make the axis invisible. Although, it is quite cumbersome.
  댓글 수: 2
darissa
darissa 2015년 1월 19일
Thank you for prompt reply.
Margareta Drozdikova
Margareta Drozdikova 2018년 4월 11일
Hi, I have the same problem, but I need verticalalignment in text object. How can I do it? thanks

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

카테고리

Help CenterFile Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by