how to reduce the size of checkbox
조회 수: 1 (최근 30일)
이전 댓글 표시
i would like reduce the size of the checkbox so that the checkbox square has the same size of text (F1X-Lab...) which is a listbox
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/236787/image.jpeg)
댓글 수: 2
Rik
2019년 9월 3일
You will probably need some tricks to find out how many lines would fit in your listbox, but then you can just change the Position property of your checkboxes.
But a more fundamental question: if you want to relate the checkboxes to your listbox items, why not make the elements the text for each checkbox? That would save you the trouble of alligning them.
답변 (1개)
Jan
2019년 9월 3일
This will not work realiably. Even the OS can change the sizes of specific GUI elements. Use an uitable instead, (see Fabienne's comment) or an undocumented treeTable: https://undocumentedmatlab.com/blog/treetable
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!