Setting the header height on a Spark Panel container in Flex 4
The following example shows how you can set the header height on a Spark Panel container in Flex 4 by setting the height property on the Panel container’s titleDisplay skin part. <?xml version="1.0" encoding="utf-8"?> <!– http://blog.flexexamples.com/2010/07/25/setting-the-header-height-on-a-spark-panel-container-in-flex-4/ –> <s:Application name="Spark_Panel_titleDisplay_height_test" xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx"> <s:controlBarContent> <mx:Form styleName="plain"> <mx:FormItem label="titleDisplay height:"> <s:HSlider id="sl" minimum="20" maximum="100" change="pnl.titleDisplay.height = sl.value;" [...]
Source:Setting the header height on a Spark Panel container in Flex 4