0

I have a panel with a custom skin whose height is smaller than its hostcomponent's height. When I layout this out in a vgroup, the component's size doesn't reflect the skin's smaller size.

Is there a way to completely delegate the size of a container to the skin class?

swidnikk
  • 546
  • 1
  • 3
  • 16

1 Answers1

1

Try to set component's minHeight or measuredMinHeight in measure() to the desired size.

Constantiner
  • 14,231
  • 4
  • 27
  • 34