Center display of static text

12 views (last 30 days)
Bijit Banik
Bijit Banik on 20 Jul 2011
Hello,
Is it possible to display the static text (by using guide) at the center of the static text box? Center (middle) in terms of both horizontal and vertical alignment. By default the static text appear in the middle in horizontal alignment sense but not in vertical alignment.
Any help?
Thanks in advance..

Answers (1)

Jan
Jan on 20 Jul 2011
No. The underlying UICONTROL does not allow to set the vertical alignment.
Either use the TEXT command or create a java button (see: FEX: uicomponent).

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!