IGUIScrollBar: possible to set the bar size?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Pan
Posts: 24
Joined: Tue Jan 20, 2009 9:36 am
Location: Bavaria, Germany

IGUIScrollBar: possible to set the bar size?

Post by Pan »

Hi!

Just a quick question: is it possible to set the bar size of an IGUIScrollBar?
According to Irrlicht, the scroll bar only has two children, which are the scroll buttons at both ends of the scroll bar, so I can't access the bar directly.

What I'd like to to is somehow to access/change the size of the scrollbar's bar, ie. if I set the maximum size of the scrollbar to 2, then the bar should be half as wide as the complete scrollbar.

Is this somehow possible with the current GUI framework..?
Wanted: Schrödingers Cat. Dead or alive.
arras
Posts: 1622
Joined: Mon Apr 05, 2004 8:35 am
Location: Slovakia
Contact:

Post by arras »

If you want dynamically scaled bar then I did not find way to do it. I went by implementing my own scroll bar with scalable bar.

But might be I did not look hard enough :wink:
Pan
Posts: 24
Joined: Tue Jan 20, 2009 9:36 am
Location: Bavaria, Germany

Post by Pan »

Oh well, I just hoped I had missed some quick way to do it. Would have been nice eye-candy ;)
Wanted: Schrödingers Cat. Dead or alive.
Post Reply