svlasov
15 Sep 2011, 5:56 AM
Hello,
I'm totally new to Sencha Touch as well as to CSS. I would like to apply a custom png texture to a button. There is an example of texture, not actual one:
http://i56.tinypic.com/rk30op.png
CSS:
.x-button {
background: url('button.png');
border: 0.0em solid transparent;
}
And there is what I get and what I would like to get:
http://i51.tinypic.com/26062ap.png
How can I achieve it? I tired many CSS tutorials, but they just don't work for Sencha.
I'm totally new to Sencha Touch as well as to CSS. I would like to apply a custom png texture to a button. There is an example of texture, not actual one:
http://i56.tinypic.com/rk30op.png
CSS:
.x-button {
background: url('button.png');
border: 0.0em solid transparent;
}
And there is what I get and what I would like to get:
http://i51.tinypic.com/26062ap.png
How can I achieve it? I tired many CSS tutorials, but they just don't work for Sencha.