Search:

Type: Posts; User: jweber

Page 1 of 19 1 2 3 4

Search: Search took 0.27 seconds.

  1. Calling one config's getter from another config's apply/update

    Say you have a class with two configs, and both have default values. I just realized that if you call one config's getter from another config's apply or update function, it's not guaranteed to return...
  2. Thanks! Good to know.

    Thanks! Good to know.
  3. Since this was never fixed, does anyone know if...

    Since this was never fixed, does anyone know if it's safe to make the suggested override (removing the "deprecated" tags)? I'm running into this issue using ST 2.4.2.
  4. You can't, but you can try calling...

    You can't, but you can try calling this.getLayout().setOrient('vertical') or setOrient('horizontal'), which should do mostly the same thing.
  5. Looking for patch for iPhøne X landscape issue

    On the iPhøne X, using Sencha Touch 2.4.2, if I start an app in portrait, then rotate to landscape, the viewport is sized incorrectly. The height is 44px too short, so there's a blank space at the...
  6. Thanks for that fix. This isn't just a problem in...

    Thanks for that fix. This isn't just a problem in the Cupertino theme -- it's in the base CSS used by all themes.
  7. I worked around this by overriding...

    I worked around this by overriding Ext.app.Application.dispatch, and wrapping it in a window.setTimeout. This way the dispatch doesn't happen until the next event loop after location.hash is changed....
  8. Is there a workaround for this?

    Is there a workaround for this?
  9. Is there a fix for this?

    Is there a fix for this?
  10. What about the "callParent has no target"...

    What about the "callParent has no target" messages? I'm getting those with Sencha Cmd 5.1.1.39 and Touch 2.4.2.
  11. Replies
    4
    Views
    1,615

    Hmm, it's worse than I thought. On a real Galaxy...

    Hmm, it's worse than I thought. On a real Galaxy Tab 3 10.1 device, inside a Cordova app, running Android 4.4.2, I'm getting window.orientation = 0 for BOTH orientations. I'm wondering if it's better...
  12. Replies
    4
    Views
    1,615

    OK: https://fiddle.sencha.com/fiddle/qqd/preview...

    OK: https://fiddle.sencha.com/fiddle/qqd/preview

    Load on a Galaxy Tab, or an emulator with the specs described above.
  13. [FIXED] This isn't fixed correctly in ST 2.4.2; see this...

    This isn't fixed correctly in ST 2.4.2; see this report.
  14. orientationchange event sends wrong height/width on Android stock browser

    Android 4.1.2 emulator, 400x800 screen, Sencha Touch 2.4.2.

    Create a page with the following code:

    Ext.Viewport.on('orientationchange', function(viewport, orientation, width, height) {
    ...
  15. Replies
    4
    Views
    1,615

    Wrong orientation for Galaxy Tab devices

    (Originally posted here, but making sure it gets a bug report.)

    Galaxy Tab devices (and probably others) use landscape as their "default" orientation. So window.orientation returns 0 for...
  16. This is not fixed in ST 2.4.2. I'm running an...

    This is not fixed in ST 2.4.2. I'm running an Android 4.4.2 emulator with a 1024x600 screen, so the "natural" orientation is landscape. When it launches, Ext.Viewport.getOrientation() returns...
  17. This was fixed in Sencha Touch 2.4.2, although...

    This was fixed in Sencha Touch 2.4.2, although there's no mention of it in the release notes.
  18. Replies
    1
    Views
    594

    Duplicate style in ST 2.4.2

    In Sencha Touch 2.4.1 and 2.4.2, in the file:
    touch/resources/themes/stylesheets/sencha-touch/default/src/form/_Panel.scss

    the .x-form-label style has two "color" rules: one from the "label"...
  19. I looked at the Sencha Touch code, and found that...

    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 &&...
  20. Example: Ext.define('Foo', { config: { ...

    Example:


    Ext.define('Foo', {
    config: {
    platformDevice: 'none'
    },
    platformConfig: [{
    platform: ['phone'],
    platformDevice: 'phone'
  21. Is there any possibility of getting some...

    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...
  22. Why is Ext.os.deviceType "phone" but platform includes "tablet"?

    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":...
  23. Identifying record consistently across page relaods

    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...
  24. OK. Would it make sense to add these to...

    OK. Would it make sense to add these to testing.defaults.properties and package.defaults.properties?


    enable.deltas=false
    enable.cache.manifest=false
  25. Replies
    7
    Views
    1,071

    If I move the Ext.define('A') into its own file,...

    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...
Results 1 to 25 of 451
Page 1 of 19 1 2 3 4