Kevincosme / flexlib

Automatically exported from code.google.com/p/flexlib
0 stars 0 forks source link

HAccordion icon rotation issue #38

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Set an icon for a Header in an HAccordion. 
<mx:Script>
        <![CDATA[

            public function setButtonStyles():void {
                comp.getHeaderAt(0).styleName = "Header1";
            }
        ]]>
</mx:Script>
<mx:Style>
       .Header1
       {
       icon:Embed("Accordion/icon.png");
       }
</mx:Style>

What is the expected output? What do you see instead?

The icon displays rotated -90 degrees.  This seems to be a result of the 
fact that the whole Button (which comprises the Header) is rotated -90 
degrees, rather than just the text.  The text should be rotated to fit the 
space, but since icons are normally smaller, it seems to me that they 
should be displayed without rotation by default.

Original issue reported on code.google.com by TomLeeSt...@gmail.com on 28 Jun 2007 at 7:52

GoogleCodeExporter commented 8 years ago
I think we should allow the user to determine whether or not the icons on the 
ehaders should be rotated. I'll try to add a flag on HAccordion that will let 
the 
user set rotateIcon to true or false.

Original comment by dmcc...@gmail.com on 30 Jun 2007 at 11:18

GoogleCodeExporter commented 8 years ago

Original comment by dmcc...@gmail.com on 25 Dec 2007 at 10:16

GoogleCodeExporter commented 8 years ago

Original comment by dmcc...@gmail.com on 26 Dec 2007 at 11:12

GoogleCodeExporter commented 8 years ago

Original comment by dmcc...@gmail.com on 26 Dec 2007 at 11:34

GoogleCodeExporter commented 8 years ago

Original comment by dmcc...@gmail.com on 3 Jan 2008 at 6:58

GoogleCodeExporter commented 8 years ago

Original comment by dmcc...@gmail.com on 3 Jan 2008 at 8:29