2 Nov 2012 3:27 AM #1
Unanswered: Theme image not found, when button has no rounded-borders
I want green not rounded button and create custom UI.
/* UI + Scale */ 'green-button-medium',
//colors, fonts, padding
WARNING: @theme-background-image: Theme image not found: ../images/btn/btn-green-button-medium-pressed-corners.gif
on line 18 of ../../ext/resources/themes/stylesheets/ext4/default/mixins/_theme-background-image.scss
I slice theme on sptites by sencha cmd, but these files still missing. How to hide or fix it?
5 Nov 2012 6:25 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
It will try to use the theme-background-image mixin only if $supports-border-radius and $compile-all variables are set to true, which they are by default. It does not go off the border radius you provide.Mitchell Simoens @LikelyMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
6 Nov 2012 1:30 AM #3
It works good as temporary solution, but how do I be sure that $compile-all=false doesn't break something else?
Why not add to extjs-button-ui mixin config $frame, which will handle framing and rounded-borders?
29 Nov 2013 2:32 AM #4
I have tire your solution but didnt work
Can you please help?
26 Mar 2015 2:18 AM #5
Any news on this?
Thanks in advance