Page 1 of 1

Skinning of ComboDropList

Posted: Tue Mar 18, 2008 15:36
by prager
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...

Posted: Wed Mar 19, 2008 10:13
by CrazyEddie
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.