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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/154399/image.jpeg)
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!