等待栏->条形图的长度? [英] waitbar -> length ot the bar figure?

查看:56
本文介绍了等待栏->条形图的长度?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这可能有些琐碎,但是如何控制等待栏中的条形图宽度?

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.

那么,这是怎么做的?

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

我可能会做

childrenWaitb = get(hWaitb, 'Children');

那又如何呢?

推荐答案

OP自己找到了解决方案,请参见上面的评论:

The OP found the solution himself, see comments above:

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

这篇关于等待栏->条形图的长度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆