This week I started learning SproutCore. I quite like the framework, but hate the absence of learning material. After going through most of the guides I decided to learn by trying to build something. I wrote a little GridView with buttons in it, but the buttons seem to be distorted, there are labelless blue copies under each button, and a couple of pink lines. What is this? Why is this? How do I get rid of it?
Relevant code:
buttons: SC.GridView.design({
layout: { centerX: 0, top: 40, width: 300, height: 120 },
columnWidth: 120,
rowHeight: 58,
contentBinding: SC.Binding.oneWay('Calculator.buttons'),
exampleView: SC.ButtonView.extend({
titleBinding: SC.Binding.oneWay('.content')
})
})
And:
Calculator.buttons = '1 2 3 4 5 6 7 8 9 0 + - / x ='.w()