Help me about the Static text og GUIDE ?
1 次查看(过去 30 天)
显示 更早的评论
When I make a static text in GUI, the text not lay at the center of the rectangle (although I have adjusted the HorizontalAlignment PropertyInspector is center). Help me how to put the text at the center of rectangle . thanks you very much.
0 个评论
采纳的回答
Amit
2013-12-31
No, you can't using the default matlab static text. The verticalAlignment is disabled. However, this might something that you should look at http://www.mathworks.com/matlabcentral/fileexchange/14583-uicomponent-expands-uicontrol-to-all-java-classes
Another approach would be using edit text with Enable 'off'. That has vertical and horizontal middle by default.
2 个评论
bobo
2019-8-24
When I used edit text with Enable 'inactive' , I could not find the vertical alignment. where to find this parameter?
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!