I'd ignore the measured sizes right now and focus on if the explicit sizes
are getting set.  Nowhere inside the tumbslider class is the width or height
set so setting the width and height properties, or the explicitWidth and
explicityHeight properties, or calling setActualSize() should work.  Make
suer these are actually getting called.  If so then something is overriding
the sizes as opposed to them not being set.  I'd try to figure out exactly
where that is happening.

- Dan Freiman

On 12/12/06, Sergey Kovalyov <[EMAIL PROTECTED]> wrote:

  Hi All!

How to instantiate SliderThumb out of Slider subclasses? I have tried
to create it inside custom component in createChildren() override,
though nothing has been created. I have also tried sizing it in
updateDisplayList() override, but SliderThumb instance
getExplicitOrMeasuredWidth() and getExplicitOrMeasuredHeight() methods
return 0.

Sergey.

Reply via email to