Verticalalignment for edit text GUI
    5 次查看(过去 30 天)
  
       显示 更早的评论
    
Is there verticalalignment option in uicontrol? I need to make the text centre in the edit text box.
0 个评论
回答(1 个)
  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 个评论
  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 Center 和 File 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!


