필터 지우기
필터 지우기

Aligning edit fields in live script

조회 수: 6 (최근 30일)
Andy
Andy 2023년 3월 8일
답변: Prathyusha Appalla 2023년 3월 13일
Hello,
I would like to align the edit feild boxes one below the other. You can do it with a blank in the label field, but that is not very professional. How can this be done?
See picture

답변 (1개)

Prathyusha Appalla
Prathyusha Appalla 2023년 3월 13일
I understand that you want to align the edit field boxes one below the other without using a blank in the label field. The EditField Properties control the appearance and behaviour of an edit field. Specifically, the Position and Layout properties of EditField might help you reach you to your desired solution.
To know more on how to use the properties you may refer to the below example:
Example :
% This code works when you want the edit field to be at the position [40 20]
>> pos = [40 20 100 150] % where the syntax is [x y width height]
For more information refer to the following link on EditField Properties which might be helpful to you:
Additionally, the Edit Fields created using ‘’appdesigner’’ in MATLAB may be easier and more flexible for customizations.

카테고리

Help CenterFile Exchange에서 Manage Products에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by