Aslain Posted April 8, 2015 Share Posted April 8, 2015 (edited) Need someone to help with this: Cannot make it look right, the edges are lacking.... Tried different settings but still.... Cell scale: 0.8 "extraFields": [ {"x": -1, "y": -1, "h": 79, "w": "131", "bgColor": "{{v.selected?#29DF00|#000000}}", "alpha": "{{v.selected?5|0}}"}, {"x": -1, "y": -1, "h": 1, "w": "131", "bgColor": "{{v.selected?#29DF00|#000000}}", "alpha": "{{v.selected?75|0}}"}, {"x": -1, "y": -1, "h": 79, "w": "1", "bgColor": "{{v.selected?#29DF00|#000000}}", "alpha": "{{v.selected?75|0}}"}, {"x": 128, "y": -1, "h": 79, "w": "1", "bgColor": "{{v.selected?#29DF00|#000000}}", "alpha": "{{v.selected?75|0}}"}, {"x": -1, "y": 78, "h": 1, "w": "128", "bgColor": "{{v.selected?#29DF00|#000000}}", "alpha": "{{v.selected?75|0}}"} ] Edited April 13, 2015 by Aslain @ Quote Link to comment Short link Share on other sites More sharing options...
sirmax Posted April 8, 2015 Share Posted April 8, 2015 "w": "131" in last line? or just one rectangle with border=1 @ Quote Link to comment Short link Share on other sites More sharing options...
Aslain Posted April 9, 2015 Author Share Posted April 9, 2015 I tried 131, and even bigger numbers, but it always look like on the picture. Check this: "extraFields": [ {"x": -1, "y": -1, "h": 79, "w": "131", "bgColor": "{{v.selected?#29DF00|#000000}}", "alpha": "{{v.selected?5|0}}"}, {"x": -1, "y": -1, "h": 1, "w": "131", "bgColor": "{{v.selected?#29DF00|#000000}}", "alpha": "{{v.selected?75|0}}"}, {"x": -1, "y": -1, "h": 79, "w": "1", "bgColor": "{{v.selected?#29DF00|#000000}}", "alpha": "{{v.selected?75|0}}"}, {"x": 131, "y": -1, "h": 79, "w": "1", "bgColor": "{{v.selected?#29DF00|#000000}}", "alpha": "{{v.selected?75|0}}"}, {"x": -1, "y": 78, "h": 1, "w": "131", "bgColor": "{{v.selected?#29DF00|#000000}}", "alpha": "{{v.selected?75|0}}"} ] And this: "extraFields": [ {"x": -1, "y": -1, "h": 79, "w": "131", "bgColor": "{{v.selected?#29DF00|#000000}}", "alpha": "{{v.selected?5|0}}"}, {"x": -1, "y": -1, "h": 1, "w": "131", "bgColor": "{{v.selected?#29DF00|#000000}}", "alpha": "{{v.selected?75|0}}"}, {"x": -1, "y": -1, "h": 79, "w": "1", "bgColor": "{{v.selected?#29DF00|#000000}}", "alpha": "{{v.selected?75|0}}"}, {"x": 131, "y": -1, "h": 79, "w": "1", "bgColor": "{{v.selected?#29DF00|#000000}}", "alpha": "{{v.selected?75|0}}"}, {"x": -1, "y": 79, "h": 1, "w": "131", "bgColor": "{{v.selected?#29DF00|#000000}}", "alpha": "{{v.selected?75|0}}"} ] @ Quote Link to comment Short link Share on other sites More sharing options...
sirmax Posted April 9, 2015 Share Posted April 9, 2015 (edited) Try this: "extraFields": [ {"x": -1, "y": -1, "h": 79, "w": 131, "bgColor": "{{v.selected?#29DF00}}", "alpha": "{{v.selected?5|0}}"}, {"x": -1, "y": -1, "h": 79, "w": 131, "borderColor": "{{v.selected?#29DF00}}", "alpha": "{{v.selected?75|0}}"} ] Edited April 9, 2015 by sirmax 1 @ Quote Link to comment Short link Share on other sites More sharing options...
Aslain Posted April 13, 2015 Author Share Posted April 13, 2015 @ Quote Link to comment Short link Share on other sites More sharing options...
sirmax Posted April 13, 2015 Share Posted April 13, 2015 (edited) Increase "h" value to 81 Edited April 13, 2015 by sirmax @ Quote Link to comment Short link Share on other sites More sharing options...
soulza Posted April 13, 2015 Share Posted April 13, 2015 can i add this:- i had same problem so did it another way , edit the tankcarosuel.swf its easier @ Quote Link to comment Short link Share on other sites More sharing options...
Aslain Posted April 13, 2015 Author Share Posted April 13, 2015 w 81 didnt help, but ok, I have enough of it now @ Quote Link to comment Short link Share on other sites More sharing options...
sirmax Posted April 13, 2015 Share Posted April 13, 2015 I can make solid border with scale=1, so you need to fit the correct value of scale and height of rectangle. @ Quote Link to comment Short link Share on other sites More sharing options...
Aslain Posted April 13, 2015 Author Share Posted April 13, 2015 (edited) Aye, everything seem to be ok with scale 1, this works for me too, the problem begins when I try to scale it, for example to 0.8. Edited April 13, 2015 by Aslain @ Quote Link to comment Short link 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.