Search Type: Posts; User: fx-mike

Page 1 of 4 1 2 3 4

Search: Search took 0.04 seconds.

  1. Not sure where you're going wrong, I can't help you if you don't show me your relevant code. Does the id match your list id?
  2. That is the image file you want to use as mask. You can use an online converter tool to get the base64 encoded string for your images.
  3. You need to fix this directly in the sencha touch code, so it would be best to create an override for this method.
  4. Replies
    3
    Views
    3,715
    interesting, I didn't know that.
    thanks :D
  5. Replies
    3
    Views
    3,715
    store.remove(store.getRange());
  6. The JSBuilder that comes bundled with the sencha touch download works fine for me.

    Copy the jsbuilder folder to the lib/touch folder in your project (actually, you could put it anywhere you...
  7. Write a custom reader and put the object inside of an array for further processing.
    You can find a code sample here:...
  8. Replies
    2
    Views
    1,122
    I put my extra name spaces in app.js, but I don't have many to add. Adding a namespace to the first js file that uses it seems kind of unsafe. I think you can add the same namespace to multiple files...
  9. Replies
    6
    Views
    917
    Maybe switching over to an MVC-style application is an option for you. If it is, there is a nice tutorial in the learn section and there are bundled examples with the sencha touch download.
    If not,...
  10. Replies
    6
    Views
    917
    You can't just slap a new fullscreen panel over an old panel. At least call rootform.hide() in your button handler. But maybe you better set up a viewport with a card layout and start switching cards...
  11. Replies
    6
    Views
    917
    some code would definitely help in debugging your problem
  12. Replies
    1
    Views
    982
    I'm trying to create a floating panel that is draggable, which works fine so far.
    But I would like to restrict the drag event to the border of the panel, while a drag on the inner x-panel-body...
  13. Write a custom xml reader, like this:


    app.readers.customreader = Ext.extend(Ext.data.XmlReader, {

    readRecords: function(doc) {
    if (Ext.isArray(doc)) {
    doc = doc[0];...
  14. Replies
    1
    Views
    558
    Sencha Touch allows you to write web apps. To build native apps out of these, you need to wrap them with phonegap, nimblekit or a similar wrapper. As for automation, phonegap has some sort of build...
  15. Replies
    3
    Views
    1,144
    glad I could help :)
  16. I guess setActiveItem doesn't take config objects. Try this instead:



    sink.Main.ui.layout.setActiveItem(Ext.create({xtype:'panel',html:'test'}),'slide');
  17. setCard has been deprecated for a while, setActiveItem is the way to go.
    It might be noteworthy that setCard is still in the code referenced by the official docs, but it's not in 1.1 or even 1.01...
  18. Alternatively, check if you have a line similar to this in your config.rb



    # Load the sencha-touch framework automatically.
    load File.join(dir, '..', '..', 'lib', 'touch', 'resources',...
  19. Replies
    2
    Views
    1,298
    I am also very interested in this. I am just getting started with unit testing my app and still need to figure out some best practices.
  20. Replies
    3
    Views
    1,144
    listen for the change event on your select field:
    http://dev.sencha.com/deploy/touch/docs/#expand?class=Ext.form.Select
  21. I use this in my app.js



    phoneGapAvailable: function() {
    return typeof(PhoneGap) != 'undefined';
    }


    It has worked so far, but I haven't tested it thoroughly yet. Maybe someone has an...
  22. Replies
    4
    Views
    1,683
    jasmine allows you to return mock responses for ajax calls, so there is no need to make the actual call.
    I don't have an example ready, but the docs are sure to have a nice one
  23. Replies
    1
    Views
    552
    You could use something along the lines of


    {
    xtype: 'panel',
    layout: {
    type: 'hbox',
    align: 'stretch',
    pack: 'justify'
    },
  24. I just spent a lot of time debugging my app because it wouldn't redirect to one of my custom routes. In the end I found that a simple trailing slash at the end of the url broke the whole route...
  25. Ext.Msg.on('show', function () {
    Ext.Msg.doComponentLayout();
    });


    is how I handle this issue for now
Results 1 to 25 of 78
Page 1 of 4 1 2 3 4