Clear Filters
Clear Filters

uipanel not clipping child uipanel

6 views (last 30 days)
SK
SK on 4 May 2014
Edited: Jan on 4 May 2014
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

Answers (0)

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!