Ingo Chou Posted October 20, 2015 Share Posted October 20, 2015 Hi, Are these bugs of CASTORGUI? 1. Color property "rgba()" in many controls option is not work. 2. Dialog / window can be moved if drag it's button or textfield. Thanks for your help. Quote Link to comment Share on other sites More sharing options...
Dad72 Posted October 20, 2015 Share Posted October 20, 2015 This work for me: var button = new CASTORGUI.GUIButton("button", {x:(guisystem.getCanvasWidth().width / 2 - 100), y: 10, w:200, h:35, value:"Click me", backgroundColor: "rgba(4, 45, 65, 0.2)"}, guisystem); I did not understand the question 2. Dialog can not be moved. One window can receive the property dragdrop. I send a small fix on GUIWindow otherwise. Quote Link to comment Share on other sites More sharing options...
Ingo Chou Posted October 20, 2015 Author Share Posted October 20, 2015 The second question is : e.g. I clicked in a GUITextfield control, then I drag mouse and want to select all string in the GUITextfield, The problem is: I can not select the string , instead, the window is moved . Quote Link to comment Share on other sites More sharing options...
Dad72 Posted October 20, 2015 Share Posted October 20, 2015 Yeah, I do not know why it does that. When you add a text with GUIText it may select. but when the text or other element is added to a dialog or window, I do not know why it can not be selected.But I would try to find out why. Quote Link to comment Share on other sites More sharing options...
Dad72 Posted October 20, 2015 Share Posted October 20, 2015 I try to do a fix that works now if that window has not draggable activate. would normally works for 'Dialog' Quote Link to comment Share on other sites More sharing options...
Ingo Chou Posted October 21, 2015 Author Share Posted October 21, 2015 Well, On the buttons have the same problem occurs. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.