问题
This is probably something trivial, but how can I control the width of the bar figure inside the waitbar ?
My problem is, that when I use the 'Position' property, I can expand only the waitbar, but not simultaneously the bar figure inside it.
So, how is this made ?
hWaitb = waitbar(0,'Titel','Position',[x y width height]);
Than probably I would make
childrenWaitb = get(hWaitb, 'Children');
but what then?
回答1:
The OP found the solution himself, see comments above:
childrenWaitb = get(hWaitb, 'Children');
set(childrenWaitb, 'Position',[xWait yWait widthBarFigure heightBarFigure]);
来源:https://stackoverflow.com/questions/9018358/waitbar-length-ot-the-bar-figure