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?
The OP found the solution himself, see comments above:
childrenWaitb = get(hWaitb, 'Children');
set(childrenWaitb, 'Position',[xWait yWait widthBarFigure heightBarFigure]);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With