Borrar filtros
Borrar filtros

uipanel not clipping child uipanel

6 visualizaciones (últimos 30 días)
SK
SK el 4 de Mayo de 2014
Editada: Jan el 4 de Mayo de 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

Respuestas (0)

Categorías

Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by