0
votes

How can I set font size of title property (header) in TitleWindow component?

If I use fontSize property, it sets the font size for all components in TitleWindow, which is not what I want. I only want to set it for the title.

I'm using Flex 3

Thank you

1
any specific reason for not using flex 4 ??Mr Coder
legacy code, will switch at some pointAnalyticsBuilder

1 Answers

2
votes

Set the title-style-name css attribute, and then assign the font size in a block that uses that css class name.

TitleWindow
{
    title-style-name: "myTitle";
}

.myTitle
{
   font-size: 16;
}