On Tuesday 16 Sep 2008, aaronius9er9er wrote:
> I think that'll do! I'd be interested in hearing if there's a better
> alternative though.
Pan's setStyle() suggestion should work.
--
Tom Chiverton
Helping to widespreadedly entrench supply-chains
Actually, I just got what I'm looking for. The only styles I need to
override are backgroundColor and backgroundAlpha, which are both used
in Container's createBorder() method. I know I'm never going to want
a border/background created by Container for my component so I'm just
overriding createBo
Good point. That would work, but I think I would no longer be able to
deal with the background color using getStyle('backgroundColor') from
my custom component (it wouldn't exist). Essentially I'd have to set
a backgroundColor class variable from setStyle(). Not terrible. Any
better ideas?
---
3 matches
Mail list logo