Waitbar & # 8594; length from bar shape?

This is probably something trivial, but how can I control the width of the bar shape inside the message bar?

My problem is that when I use the "Position" property, I can expand only the message panel, but not at the same time its figure inside.

So how is this done?

hWaitb = waitbar(0,'Titel','Position',[x y width height]);

Than I will probably do

childrenWaitb = get(hWaitb, 'Children');

but then what?

+5
source share
1 answer

OP found the solution on its own, see comments above:

childrenWaitb = get(hWaitb, 'Children'); 
set(childrenWaitb, 'Position',[xWait yWait widthBarFigure heightBarFigure]);
+1
source

All Articles