Search Type: Posts; User: memanuele

Search: Search took 0.03 seconds.

  1. you're welcome... btw the code evolved a bit:


    scrollToField: function(field, animate) {
    var scrollY = field.element.dom.offsetTop;
    var scroller = this.getScroller(field);
    ...
  2. We are not using Phonegap or Cordova in our project. We had the shrink problem when using vertical layouts with flex, we then gave each component a fixed height and made the parent container...
  3. If I show a prompt and then an alert when the user presses ok, I see this error in the Javascript console:
    Uncaught TypeError: Cannot read property 'removeCls' of null



    ...
  4. My workaround requires some work but seems to be working fine in any circumstance.

    First add this code to your app:



    Ext.application({

    name: 'MyApp',
  5. So if this is my object:



    var data = {
    id: 0,
    firstName: 'First name',
    lastName: 'Last name',
    unreadMessages: [
    {id: 0, text: 'Message 1'},
  6. Yes, the fiddle works fine. So using handler fixes the issue when you have a button. In my dataview I'm using an itemtap listener, which unfortunately causes the issue. Should I change this to...
  7. I had this strange issue: there are two cards in a container, one contains a list, the other contains a text area. Clicking on an item in the list brings the user to the other card with the text...
  8. Let's say I have the Message model:


    Ext.define("MyApp.model.Message", {
    extend: "Ext.data.Model",
    config: {
    proxy: {
    type: 'memory'
    },
    ...
  9. Ok... while waiting for a fix I worked around the issue like this:

    I first defined these styles:



    .tabFirst, .tabMiddle {
    border-top: 1px solid $ios7-blue !important;
    border-right:...
  10. As you can see from the screenshot the plus/minus icons are not centered inside the button when using the Cupertino theme. Also, there is another issue: the text is grayed out and the user can't...
  11. for what I read here in the documentation:

    http://docs.sencha.com/touch/2.3.1/#!/api/Ext.app.Controller-cfg-routes

    seems like there is no need for the hashtag in the routes definition.
  12. Is there a fix planned for next release?
    Thanks.
  13. Hi, I'd like to give parameters to my application with a GET-style string, so that the final url looks like this:

    MyApp/#MyView?param0=value0&param1=value1&param2=value2

    But it doesn't work...
  14. I have this Sencha Touch 2 code which uses the Cupertino theme:


    var tabs = {
    xtype: 'tabpanel',
    items: [
    {title: 'Tab 1'},
    {title: 'Tab 2'},
    ...
Results 1 to 14 of 14