yishayw commented on issue #790: Bad Label with Box Layout On RadioButtons URL: https://github.com/apache/royale-asjs/issues/790#issuecomment-608315762 > also selecting one doesn't deselect the other. I think I made a mistake here. The problem is I'm getting a selection that shouldn't happen, as can be seen here. ``` <mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.apache.org/royale/mx" applicationComplete="init()" width="600" height="400"> <fx:Script> <![CDATA[ import mx.controls.RadioButton; private function init():void { var rb1:RadioButton = new RadioButton(); rb1.value = "Radio 1"; rb1.group = myGroup; var rb2:RadioButton = new RadioButton(); rb2.value = "Radio 2"; rb2.group = myGroup; myBox.addElement(rb1); myBox.addElement(rb2); rb1.label = "1"; rb2.label = "2"; myGroup.selectedValue = "Radio 2"; } ]]> </fx:Script> <mx:RadioButtonGroup id="myGroup" selectedValue=""/> <mx:HBox id="myBox"> </mx:HBox> </mx:Application> ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
