toolTip="{deleteToolTipText()}"
width="28" height="28" textAlign="left" y="4" x="6" paddingLeft="6" paddingRight="0" />
- <mx:HBox width="28" height="28" y="4" x="36" borderStyle="solid" cornerRadius="4" click="reverseClicked();" horizontalAlign="center" verticalAlign="middle">
- <mx:ViewStack id="rotateButtonStack">
+ <mx:HBox id="reverseButton" width="28" height="28" y="4" x="36" borderStyle="solid" cornerRadius="4"
+ click="reverseClicked();" horizontalAlign="center" verticalAlign="middle" toolTip="Reverse direction (V)">
+ <mx:ViewStack id="rotateButtonStack" creationPolicy="all">
<mx:HBox id="arrowBoxWrapper"><!-- changing the viewstack back onto a rotated hbox causes positioning glitches, hence this wrapper -->
<!-- I can totally recommend adding borderStyle="solid" to arrowBox when debugging -->
<mx:HBox id="arrowBox" horizontalAlign="center" verticalAlign="middle" width="24" height="24">
<mx:Image id="arrow" source="@Embed('../../../embedded/arrow.svg')"
alpha="{getAlpha('reverseDirection')}"
- toolTip="Reverse direction (V)"
width="22" height="22"/>
</mx:HBox>
</mx:HBox>
<mx:HBox id="clockwiseBox" horizontalAlign="center" verticalAlign="middle">
<mx:Image id="clockwise" source="@Embed('../../../embedded/clockwise.svg')"
alpha="{getAlpha('reverseDirection')}"
- toolTip="Reverse direction (V)"
width="22" height="22" x="2" y="2"/>
</mx:HBox>
<mx:HBox id="antiClockwiseBox" horizontalAlign="center" verticalAlign="middle">
click='doReverseDirection();'
enabled="{canDo('reverseDirection')}"
alpha="{getAlpha('reverseDirection')}"
- toolTip="Reverse direction (V)"
width="22" height="22" x="2" y="2"/>
</mx:HBox>
</mx:ViewStack>