Why don't uibuttons have 'normalized' coordinates?
15 次查看(过去 30 天)
显示 更早的评论
The old, "Guide-type" uicontrol-buttons had the very handy 'Units','Normalized' -property, which allowed you to specify their size in normalized coordinates according to your present screen size. The new uibutton-buttons don't have this property - their size has to be given in pixels. This seems strange and inconvenient to me. Why is this so?
0 个评论
采纳的回答
Vineeth Nair
2018-9-10
UI buttons made using app designer , have their units set to 'Pixels' by default. And it can't be changed. You can refer to this answer, where a workaround is given using " SizeChangedFcn ".
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!