[MeeGo-touch-dev] Stylesheet notation
Tomas Junnonen
tomas.junnonen at nokia.com
Wed Aug 11 01:31:40 PDT 2010
On 08/11/2010 11:18 AM, ext Lehmusvuo Eetu wrote:
> Yes these do work:
> ParentClass ChildClassStyle#childObjectName {...}
> ParentClass ChildClassStyle {...}
>
> But the parent can't be specified with object name which would be the needed behavior here:
> ParentClass#parentObjectName ChildClassStyle {...}
> nor
> ParentClass#parentObjectName ChildClassStyle#childObjectName {...}
>
> So we would need to have different style for child depending on the parent object. We can just change the child widgets object name in code according to parents object name, but it would be much nicer if we wouldn't need any such hard-coded object names for child, but correct style would automatically be applied to a child of ParentClass#parentObjectName.
I think it's probably a missing feature or bug, it would be consistent
to support ParentClass#parentObjectName. Please file it in Bugzilla, and
if you're brave have a look at it yourself ;)
Regards,
Tomas
More information about the MeeGo-touch-dev
mailing list