Search Type: Posts; User: jweber

Page 1 of 5 1 2 3 4

Search: Search took 0.04 seconds.

  1. I looked at the Sencha Touch code, and found that Ext.os.deviceType is calculated in env/OS.js:


    if (!osEnv.is.Android && !osEnv.is.iOS && !osEnv.is.WindowsPhone &&...
  2. Example:


    Ext.define('Foo', {
    config: {
    platformDevice: 'none'
    },
    platformConfig: [{
    platform: ['phone'],
    platformDevice: 'phone'
  3. Is there any possibility of getting some attention from Sencha on this?

    My suggested fix doesn't work in all cases. For example, I'm using an Android 4.4.2 emulator, in a Cordova app (so it uses...
  4. I generated a new app using Sencha Touch 2.4.1 and Sencha Cmd 5.1.1.39.

    Then I added a tablet-specific CSS file to app.json:

    {
    "path": "resources/css/tablet.css",
    "platform":...
  5. I need a way to identify a record in a Store, that remains consistent across page reloads, so I can pass it in a URL.

    (Assume for the sake of argument that the data loaded into the Store doesn't...
  6. OK. Would it make sense to add these to testing.defaults.properties and package.defaults.properties?


    enable.deltas=false
    enable.cache.manifest=false
  7. Replies
    7
    Views
    709
    If I move the Ext.define('A') into its own file, and make X require A instead of A2, it also fixes the build order.

    So it seems like something is handled differently when the Ext.define is inside...
  8. Replies
    2
    Views
    491
    Can you guys update the documentation to reflect that? It still talks about the "package" build.

    Also, there are still "package" and "testing" properties files in .sencha when it generates an app....
  9. Replies
    7
    Views
    709
    Just did some testing, and I found a clue. In the constructor of X, I also define another class A:



    Ext.define('X', {
    extend: X2',
    singleton: true,
    requires: ['A2'],
    constructor:...
  10. Replies
    7
    Views
    709
    Correct. No warnings in the output of "sencha app build testing". If I pass "-debug", I do see some [WRN] entries, but only for Ext.* classes. And I see some entries like:


    [DBG] Detected lazy...
  11. Replies
    7
    Views
    709
    There are a ton of classes in app.js --- is there something more specific I can post? Unfortunately I haven't been able to narrow it down to a simple case.

    [ edit -- thought I had fixed it, but I...
  12. Replies
    7
    Views
    709
    I'm using Sencha Cmd 5.1.1.39 and Sencha Touch 2.4.1.

    When I do "sencha app build testing", the resulting app.js has certain class files out of order, so that class X is used by class Y, but Y is...
  13. REQUIRED INFORMATION


    Sencha Cmd version(s) tested: Sencha Cmd 5.1.1.39

    Operating System: Mac OS 10.10

    Framework used: Sencha Touch 2.4.1

    Description: "sencha app build testing" and...
  14. Replies
    2
    Views
    491
    I'm upgrading from Sencha Cmd 4 to 5, using Sencha Touch 2.4.

    In the past, I used "sencha ant -Dbuild.environment=package build" (to prepare the app to be included in a Cordova project).

    What's...
  15. Bump.
  16. Replies
    1
    Views
    544
    Is it possible to use the browser's native scrolling behavior, in certain areas of a ST app?

    For example, I have a div with "overflow-x: scroll", and overflowing contents. On a mobile device, you...
  17. Is it possible to make a container scroll horizontally, but have its height defined by its contents, rather than having a specific height, or having its height defined by its container?

    For...
  18. I'm playing around with the solution below. In Ext.viewport.Default, I'm changing it to use window.orientation on Chrome, even if the device is Android.


    ...
  19. Touch version tested:
    Touch 2.3.1 and 2.4


    Browser versions or Packager version tested against:
    Chrome for Android 38.0.2125.114 -- this particular test works correctly on the Android...
  20. Replies
    1
    Views
    596
    Figured it out....it's a little more nesting than I'd like, but it seems to work:


    Ext.create('Ext.Container', {
    fullscreen: true,
    layout: 'vbox',
    scrollable: 'vertical',
    items: [{...
  21. Replies
    1
    Views
    596
    Using ST 2.3, I'd like to create a view that expands to fit its container. But it should be at least a certain height, so that if the container is below that height, it will scroll vertically. And...
  22. You should distinguish between normal Sencha Touch apps, and Sencha Touch apps packaged as native apps. Normal Sencha Touch apps are just web apps, which contain HTML/JavaScript that you would load...
  23. You can try my solution to this here.
  24. Replies
    2
    Views
    857
    That's when the store finishes loading, but not when the view has finished rendering (and is ready to scroll).
  25. Replies
    2
    Views
    857
    I want to scroll to a certain item in a DataView, when it loads.

    I already have a function that scrolls the DataView to the right place. But I can't figure out when to call it.

    I've tried using...
Results 1 to 25 of 119
Page 1 of 5 1 2 3 4