-
15 Jan 2013 6:40 AM #1
When using ui forward and back the buttons are not being rendered properly
When using ui forward and back the buttons are not being rendered properly
Hi,
When using ui forward and back the buttons are not being rendered properly. please see attached file.
I'm using sencha 2.1.
Thanks,
Satnam.
-
15 Jan 2013 7:59 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,641
- Vote Rating
- 434
The forward for me doesn't look like that, it looks like the back only flipped with this code:
Screen Shot 2013-01-15 at 9.59.05 AM.jpgCode:Ext.Viewport.add({ padding : 50, items : [ { xtype : 'button', text : 'Forward', ui : 'forward' }, { xtype : 'button', text : 'Back', ui : 'back' }, { xtype : 'toolbar', docked : 'top', items : [ { xtype : 'button', text : 'Forward', ui : 'forward' }, { xtype : 'button', text : 'Back', ui : 'back' } ] } ] });Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
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 services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
15 Jan 2013 8:25 AM #3
I've tried running your code under a brand new project and still get the same result. please see screen shot.
I'm using sencha-touch-2.1.0-commercial..
Thanks,
Satnam
-
15 Jan 2013 8:32 AM #4
Just noticed this seems to be happening on chrome canary and when I deploy the app on a ipad.. On a normal chrome browser (i.e. Version 24.0.1312.52 m) it works fine
-
26 Feb 2013 9:41 PM #5
Confirmed here as well in both chrome and in phonegap
-
6 Mar 2013 1:15 PM #6
Same problem in Chrome version 25.0.1364.152 m
Same problem in Chrome version 25.0.1364.152 m
forwardbuttonbroken.jpg
both in Sencha kitchen sink and my own appLast edited by sdebois; 6 Mar 2013 at 1:16 PM. Reason: update
-
27 Mar 2013 2:17 AM #7
-
8 Apr 2013 11:14 AM #8
+1

It's a problem with webkit-mask-position.
In my case, adding following code in my custom css helps:
Code:.x-button-forward:before, .x-button-forward:after, .x-toolbar .x-button-forward:before, .x-toolbar .x-button-forward:after {-webkit-mask-size: 0.80717em 1.8em; } .x-button-forward:before, .x-button-forward:after, .x-button-back:before, .x-button-back:after { top: -0.05em; -webkit-mask-position: 0.210em 0; } .x-button-forward:before, .x-button-forward:after, .x-toolbar .x-button-forward:before, .x-toolbar .x-button-forward:after { top: -0.05em; -webkit-mask-position: -0.210em 0; }
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote