Hi
I've been working with custom components only just noticed a strange
re-drawing issue where I get ghost versions of the children in my
component appearing.
I've only just noticed this since I set the child's position relative
to unscaledWidth, which changes and so allows me to see N
Components don't set explicitWidth and explicitHeight on themselves, they're
(optionally) set by the container, and actual sizing is set by the container
through setActualSize().
Override measure(), and set measuredWidth and measuredHeight to match your
label, and your problems may go away. Also
2 matches
Mail list logo