Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Override default Picker buttons #10

Merged
merged 1 commit into from

2 participants

@sc0ttman

This came in handy for me.

@mitchellsimoens mitchellsimoens merged commit d83e4e9 into mitchellsimoens:master
@mitchellsimoens

Merged, also added a date picker field to the two examples to show this off. Thanks for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 3, 2012
  1. @sc0ttman
This page is out of date. Refresh to see the latest.
Showing with 15 additions and 0 deletions.
  1. +15 −0 Ux/locale/override/st/picker/Picker.js
View
15 Ux/locale/override/st/picker/Picker.js
@@ -0,0 +1,15 @@
+Ext.define('Ux.locale.override.st.picker.Picker', {
+ override: 'Ext.picker.Picker',
+ config: {
+ doneButton: {
+ locales: {
+ text: 'buttons.done'
+ }
+ },
+ cancelButton: {
+ locales: {
+ text: 'buttons.cancel'
+ }
+ }
+ }
+});
Something went wrong with that request. Please try again.