Hi,
another, maybe very stupid, question...
In ComboDropList widget there is a definition of two scrollbar elements, which control the scrolling when necessary... Is there any way to determine INSIDE <Child type="AquaLook/HorizontalScrollbar" ... > ... </Child> if the other scrollbar is visible?
The reason is, that I want to have the scrollbar full width / height of the droplist, when only one is visible, and "shorter" version of the scrollbar when both of them are visible...
Many thanks...
Skinning of ComboDropList
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Hi,
I understand what you're trying to achieve, but at the moment the system does not support doing that 'automagically'.
The only thing I could think of as a workaround is extremely messy, but basically involves:
- Use a property to specify the dimension of the scrollbar.
- Detect when any of the scrollbars are shown or hidden
- Calculate the required dimensions and set the above properties.
Kind of lame - I'm going to make a note to look into other solutions
CE.
I understand what you're trying to achieve, but at the moment the system does not support doing that 'automagically'.
The only thing I could think of as a workaround is extremely messy, but basically involves:
- Use a property to specify the dimension of the scrollbar.
- Detect when any of the scrollbars are shown or hidden
- Calculate the required dimensions and set the above properties.
Kind of lame - I'm going to make a note to look into other solutions
CE.
Who is online
Users browsing this forum: No registered users and 10 guests