uieditfield minimum vertical size

1 次查看(过去 30 天)
When I try to make uieditfield vertical size smaller than 18 pixels I get a horizontal bar through the field and my text is no longer vertically centred. Is this a bug? If you look closely the bar seems to be there even in larger textboxes, but it is at the very top of the field.
Steps to reproduce:
fig = uifigure;
edt = uieditfield(fig);
edt.Value = '0';
edt.FontSize = 8;
edt.Position(4) = 12;
Thanks.
  3 个评论
Chidvi Modala
Chidvi Modala 2020-4-16
I have heard that this issue is known and the concerned parties may be investigating further.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Dialog Boxes 的更多信息

标签

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by