sencha-touch

Secha touch : Signature Draw issue with HTMLCanvas5 after updating android chrome to version 85.0.4183.127

故事扮演 提交于 2021-01-29 06:54:47
问题 After updating the latest android chrome (version 85.0.4183.127) on Android 6 My App started having issues on the HTML5 canvas which is responsible to capture/draw signature from the user. My App is a hybrid app that is built on the Sencha JS framework.the capturing signature code is written on HTML5 canvas (HTMLCanvasElement). Key points: 1.signature Issue is all android-OS version which is updated to chrome (version 85.0.4183.127).2.The app is based on sencha touch2.4 3.cordova is used for

Sencha 6.5, where classic and modern folders while create new packages

半城伤御伤魂 提交于 2021-01-27 12:39:55
问题 I was trying sencha 6.5, I've created a package using sencha generate package DemoPkg This has created a package for me, but I do not find directories for classic and modern inside it. Did anyone faced this issue? Any suggestion or help on this will be much appreciated. As per sencha guide the structure of package should have following structure, packages/ local/ foo/ # Top-level folder for the package .sencha/ package/ sencha.cfg # Sencha Cmd configuration for this package build-impl.xml #

Is it better to start with Sencha Touch 2, or Sencha Touch 1.x?

拈花ヽ惹草 提交于 2020-02-01 04:35:48
问题 I've recently built a demo application using PhoneGap, and I chose to try JQuery Mobile as a UI framework. It was... okay. I'd like to try out Sencha Touch now and see if I like it better. As of now (mid-December '11), it appears that Sencha Touch 2 has been released as a preview, and has significant improvements in performance (which is a key ingredient for me). However, it's missing some features, and doesn't seem to have many demos / tutorials yet on the Sencha website. In the valuable

Calling the items.add method twice causes the two items to overlap on the card

China☆狼群 提交于 2020-01-25 11:28:07
问题 Here is my add item code: myapp.cards.vehicleInfo.items.add( new Ext.List({ ...}) ) If after this I then do: myapp.cards.vehicleInfo.items.add( new Ext.Panel( {html: 'test' } ) ); The panel with 'test' appears on top of my list (overlapping), rather than vertically below it. I have tried doing a componenet dolayout inbetween adding the two items. Any ideas? If I only do one or the other of the above it works as expected but if I do both together it leads to the above behaviour. Thanks 回答1:

Sencha Touch: Panel.hide()/show() works only after resize

本秂侑毒 提交于 2020-01-24 01:20:14
问题 Here's a demo app: demo Sencha Touch app. The button in the bottom-left corner should show/hide the menu panel on top of the "Location info goes here" bar, however, it works in a strange way. Here's how (IMO) it should work: I click a button A panel appears Here's how it works now: I click a button Nothing happens I resize a window or press F11 (which is resizing too, anyway) A panel appears So, can somebody explain why is this happening and how can I solve my issue? Thx. 回答1: I've found a

Are pure and traditional Ajax Requests possible on native / hybrid mobile apps?

旧时模样 提交于 2020-01-21 19:00:28
问题 I know that using JSONP thechnique http://en.wikipedia.org/wiki/JSONP we can kinda make a cross domain Ajax Request. But for this question that doesn't count as "pure and traditional". I am only wondering if for native / hybrid apps also applies the "Same Origin Policy" http://en.wikipedia.org/wiki/Same-origin_policy There seems to be a lot of confusion in this matter. A friend of mine swears that he connected Sencha Touch 2.3.1 + PhoneGap 3 to his back-end with "Ajax" proxies which I find

Composite models (models within models), or manual foreign key associations between models?

旧城冷巷雨未停 提交于 2020-01-17 07:56:21
问题 I have two models, and I want to "nest" one within the other. Is there a way to do this with Sencha Touch? My models look like this: Ext.regModel('OuterModel', { fields: ['name'] }); var outerStore = new Ext.data.Store({ model: 'OuterModel', data: [ {name: 'item1'}, {name: 'item2'} ] }); Ext.regModel('InnerModel', { fields: ['a', 'b'] }); var innerStore = new Ext.data.Store({ model: 'InnerModel', data: [ {a: 1, b: 5}, {a: 2, b: 5}, {a: 3, b: 3} ] }); Each OuterModel needs an associated

Sencha Touch Charts style

拟墨画扇 提交于 2020-01-17 07:46:25
问题 I'm playing with Sencha Touch Charts. I've got them working, with interactions, animation everything is good. I even styled a bunch of them. But when I got around styling a series of type area.. it just wouldn't take. new Ext.chart.Chart({ theme: 'MyTheme', cls: 'myClass', legend: { ... }, interactions: [{ ... }], store: app.stores.MyStore, axes: [...], series: [{ type: 'area', axis: 'left', xField: 'Date', yField: 'someField' }, { type: 'line', axis: 'right', xField: 'Date', yField:

Sencha Touch Charts style

有些话、适合烂在心里 提交于 2020-01-17 07:46:03
问题 I'm playing with Sencha Touch Charts. I've got them working, with interactions, animation everything is good. I even styled a bunch of them. But when I got around styling a series of type area.. it just wouldn't take. new Ext.chart.Chart({ theme: 'MyTheme', cls: 'myClass', legend: { ... }, interactions: [{ ... }], store: app.stores.MyStore, axes: [...], series: [{ type: 'area', axis: 'left', xField: 'Date', yField: 'someField' }, { type: 'line', axis: 'right', xField: 'Date', yField:

How to remove all items from Ext.ux.slidenavigation.View

我们两清 提交于 2020-01-16 14:03:15
问题 So here is the plugin that I'm using for slidenavigation: slidenavigation, and I would like to remove all items on painted method. It seems that items are stored in this.data.items . However clearing an array doesn't solve an issue. CLearing the store didn't as well. So here is the painted method to initialise the items and push them to the plugin Ext.define("APN.view.FlyoutNavigation", { id: "flyoutNavigationPanel", extend: 'Ext.ux.slidenavigation.View', }, listeners: { painted: function() {