[GitHub] [royale-asjs] aharui commented on issue #661: ColorPicker is not working
aharui commented on issue #661: ColorPicker is not working URL: https://github.com/apache/royale-asjs/issues/661#issuecomment-575325716 I think I fixed the problem in the royale-compiler change: 4efb7de5b1b00e62af8198b6ac5ee909ded92d42 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: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [royale-asjs] aharui commented on issue #661: ColorPicker is not working
aharui commented on issue #661: ColorPicker is not working URL: https://github.com/apache/royale-asjs/issues/661#issuecomment-575034702 Your application is set up more like: ``` http://ns.adobe.com/mxml/2009; xmlns:mx="library://ns.apache.org/royale/mx" xmlns:s="library://ns.apache.org/royale/spark" width="600" height="400" > ``` where ValueObj looks like: ``` package { [Bindable] public class ValueObj { public var purchaseRequColor:String = "#ffeedd"; } } ``` I thought I had tested that locally, but apparently not as that scenario is not working. The binding expression is not being set up correctly. It is not handling the private bindable. I will look into it tomorrow unless someone else can get to it sooner, but you can use the setStyle as a workaround. 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: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [royale-asjs] aharui commented on issue #661: ColorPicker is not working
aharui commented on issue #661: ColorPicker is not working URL: https://github.com/apache/royale-asjs/issues/661#issuecomment-575013093 A simple way is: ```public function changeEvt(event:ColorPickerEvent):void { purchaseRequColor.text = event.currentTarget.selectedItem; //purchaseRequColor.setStyle("color", purchaseColor.selectedColor); purchaseRequColor.setStyle("contentBackgroundColor", purchaseColor.selectedColor); } ``` I commented out setting the color otherwise the font would match the background and you wouldn't see anything 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: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [royale-asjs] aharui commented on issue #661: ColorPicker is not working
aharui commented on issue #661: ColorPicker is not working URL: https://github.com/apache/royale-asjs/issues/661#issuecomment-574531528 In that example, I do not see any code that will change the color or contentBackgroundColor of the s:TextInput. 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: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [royale-asjs] aharui commented on issue #661: ColorPicker is not working
aharui commented on issue #661: ColorPicker is not working URL: https://github.com/apache/royale-asjs/issues/661#issuecomment-574526346 In dbzPurchaseRequSetup, there is a "valueObj". The colors of the TextInput is bound to valueObj.purchaseRequColor, but I do not see any code that sets it when the ColorPicker is changed. What code is supposed to change valueObj.purchaseRequColor? 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: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [royale-asjs] aharui commented on issue #661: ColorPicker is not working
aharui commented on issue #661: ColorPicker is not working URL: https://github.com/apache/royale-asjs/issues/661#issuecomment-573136896 I can connect to the VDI, but cannot log into the app, so I cannot do any more work. 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: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [royale-asjs] aharui commented on issue #661: ColorPicker is not working
aharui commented on issue #661: ColorPicker is not working URL: https://github.com/apache/royale-asjs/issues/661#issuecomment-572908306 Without the VDI, I cannot see your code, so I can only guess at how you set it up. Since you are using bindings, the color setter in UIComponent and contentBackgroundColor setter in SkinnableTextBase need to be implemented to call setStyle like the backgroundColor setter in UIComponent. You should be able to make and test those changes. It is the end of my workday. 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: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [royale-asjs] aharui commented on issue #661: ColorPicker is not working
aharui commented on issue #661: ColorPicker is not working URL: https://github.com/apache/royale-asjs/issues/661#issuecomment-572690111 "color" seemed to already work in my local testing. I got contentBackgroundColor to work in this commit: 49512caedb8e6cc64bdf804913745b78a00ec42e 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: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [royale-asjs] aharui commented on issue #661: ColorPicker is not working
aharui commented on issue #661: ColorPicker is not working URL: https://github.com/apache/royale-asjs/issues/661#issuecomment-571941809 ColorPicker will need to be emulated just like DropDownList and ComboBox. You should be able to re-use the beads in Basic or subclass them. You can try implementing ColorPicker by looking at how DropDownList and ComboBox are emulated. 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: us...@infra.apache.org With regards, Apache Git Services