Help me about the Static text og GUIDE ?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponse acceptée
Amit
le 31 Déc 2013
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 commentaires
bobo
le 24 Août 2019
When I used edit text with Enable 'inactive' , I could not find the vertical alignment. where to find this parameter?
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!