-
Notifications
You must be signed in to change notification settings - Fork 33
Navigationview and items with title #26
Comments
might this be of any help? |
hm, I dont think so. Since this is not related to slidenav. This is a container added in the navigationview. So touch should then automatically populate a titlebar in the navigationbar when you add items, push back button etc. But this is not happening when using this with UX. The title is never set in the navigationbar |
damn, didnt mean to close |
I should have added support for this in my pull request which Mitchell merged in a few weeks back. Make sure you are 'requiring' 'Ux.locale.override.st.navigation.Bar' and 'Ux.locale.override.st.navigation.View' in your app. It's possible there's a bug in there somewhere though - I'll have a look when I get the chance. |
Does not work, for me at least. |
had to add this code in the Picker.js override, for translation on the "done" button to work. setLocale: function() { |
I've tested this code and it appears to work ok with ST 2.1.0-rc2 (the version attached to this project), and 2.1.1. However I tried plugging in 2.2.1 with no other modifications (simply replacing the /st/mvc/touch folder) and it breaks (along with a few other things). However I personally haven't used 2.2.1 for anything yet so I may be doing something wrong or missing something obvious. |
If we assign a xtype in the navigation tab panel then the title are not setting. |
Hi,
I have a navigation view, with an form added to it
xtype: 'navigationview',
height: '100%',
width: '100%',
items: [{
xtype: 'deviationform',
height: '100%',
width: '100%'
}]
This deviationform, has this config:
config: {
height: '100%',
enableLocale: true,
locales: {
title: 'DeviationForm.title'
},
The issue is that this title is not added to the navigationbar.. its just set on the container (not pushed to navigationview's titlebar). This works fine if you dont use locale, and just set title: "sometitle" directly.
The text was updated successfully, but these errors were encountered: