uieditfield minimum vertical size

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

Adam Danz
Adam Danz 2020년 4월 13일
편집: Adam Danz 2020년 4월 14일
I see it too in 19b and 20a. I hadn't noticed it before. I'd say it's a bug.
I've reported it; Case Number 04177202.
Paul Keselman
Paul Keselman 2020년 4월 14일
Thank you.
Chidvi Modala
Chidvi Modala 2020년 4월 16일
I have heard that this issue is known and the concerned parties may be investigating further.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Environment and Settings에 대해 자세히 알아보기

제품

릴리스

R2019b

태그

질문:

2020년 4월 13일

댓글:

2020년 4월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by