Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Later
-
Adobe Flex SDK Previous
-
None
-
Affected OS(s): Windows
Affected OS(s): Windows
Language Found: English
Description
Reproduction:
1. Run the below sample piece of code
<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="run()">
<mx:Script>
<![CDATA[
[Bindable]
private var myDP:Array=[
,
{label:"England", data:"ENGLAND"},
{label:"Slovenia", data:"SLOVENIA"}];
public function run():void {
bb.setStyle('fontSize',50);
}
]]
>
</mx:Script>
<mx:ButtonBar id="bb" dataProvider="
" />
</mx:Application>
2. Notice that height of the ButtonBar is not increased with respect the fontSize, but the width is increased.
Actual Results: Height of the ButtonBar doesn't increase when the fontSize is increased
Expected Results: Should increase the height of the ButtonBar when the fontSize is increased.
Workaround: set the height explicitly.