On Mar 31, 2005 11:06 PM, Brett Hitzel <[EMAIL PROTECTED]> wrote:

> We are trying to center the text that appears in the title sections of 
> Panels, to no avail. I
> have tried utilizing the 'titleStyleDeclaration' style property, but I am not 
> sure that I am
[snip]

Why, this works:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml";
  xmlns="*">
  <mx:Style>
    myTitleStyle {
      text-align: center;
      font-weight: bold;
    }
  </mx:Style>
  <mx:Panel title="My Title" width="400"
    titleStyleDeclaration="myTitleStyle">
    <mx:TextInput />
  </mx:Panel>
</mx:Application>

Manish


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to