uipanel not clipping child uipanel
1 次查看(过去 30 天)
显示 更早的评论
h_figure = figure;
this.h0 = uipanel('Parent', h_figure, 'Clipping', 'on');
this.h1 = uipanel('Parent', h0);
h1 is a uipanel that can be scrolling implemented with a slider.
However the scrolling uipanel does not always get clipped to the parent panel.
The clipping failure seems to occur if the scrolling panel is large (say around twice the dimensions of the figure).
A few others have had the problem but no solutions appear to have been found. Does anyone know of one?
added: On further experimentation, it is not the size of the panel that is the issue. For example, the clipping works when the scrolling uipanel contains line plots but fails to work when the scrolling uipanel contains bar plots.
Regards,
Sandeep
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interactive Control and Callbacks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!