Center display of static text

4 次查看(过去 30 天)
Bijit Banik
Bijit Banik 2011-7-20
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..

回答(1 个)

Jan
Jan 2011-7-20
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).

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by