Skinning of ComboDropList

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

User avatar
prager
Just popping in
Just popping in
Posts: 12
Joined: Fri Mar 14, 2008 19:02
Contact:

Skinning of ComboDropList

Postby prager » Tue Mar 18, 2008 15:36

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...

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Postby CrazyEddie » Wed Mar 19, 2008 10:13

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 :lol:

CE.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 9 guests