Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

waitbar -> length ot the bar figure?

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?

like image 901
HeinrichStack Avatar asked Nov 13 '22 11:11

HeinrichStack


1 Answers

The OP found the solution himself, see comments above:

childrenWaitb = get(hWaitb, 'Children'); 
set(childrenWaitb, 'Position',[xWait yWait widthBarFigure heightBarFigure]);
like image 176
Jonas Heidelberg Avatar answered Dec 10 '22 12:12

Jonas Heidelberg