1 Reply Latest reply on Jun 8, 2010 10:46 PM by David_F57

    How do you style a sparks TitleWindow?

    everynickistaken

      I'm having a hard time getting my head around the new Sparks css. To pick an example, I have a custom TitleWindow called HelpWindow.  How do I set the font and color for the TitleBar?

       

      Also, is there a reference for what properties are available for styling on the new Sparks components?

        • 1. Re: How do you style a sparks TitleWindow?
          David_F57 Level 5

          hi,

           

          With the new spark components you have a mixture of css and reskinning, usually when playing with things that have gradients like the titlewindow you are better off reskinning(my view) for the more standard parts you can use styles, for instance the titlewindow or panel have a titleDisplay property, this is where you could change font values etc..

           

            myTitleWindow.titleDisplay.setStyle("fontSize",30);

           

          David.

          1 person found this helpful