-
17 Mar 2011 4:05 PM #1
[OPEN-EXTJSIV-157] Ext.draw.Component viewbox issue
[OPEN-EXTJSIV-157] Ext.draw.Component viewbox issue
Trying to write a component window that has a draw surface inside it:
Throws an error in firefox:Code:Ext.define 'Quartermaster.components.chart.Window', extend: 'Ext.window.Window' alias: 'Quartermaster.CustomChart' initComponent: -> Ext.apply @, layout: 'fit' title: 'Chart Window' iconCls: 'icon-application' width: 960 height: 400 plain: yes closeAction: 'hide' center: yes maximizable: yes minimizable: no # This will change in future releases collapsible: yes items: [ Ext.create 'Ext.draw.Component', {scope: @} ] @callParent arguments
Unexpected value Infinity Infinity -Infinity -Infinity parsing viewBox attribute.
SVG generated looks like this:
HTML Code:<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="948" height="366" id="ext-gen1171" viewBox="Infinity Infinity -Infinity -Infinity" style="width: 948px; height: 366px;"><defs/><rect width="100%" height="100%" fill="#000" stroke="none" opacity="0" id="ext-gen1172"/></svg>
-
17 Mar 2011 4:16 PM #2Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,653
- Vote Rating
- 14
Thank you for the report, we'll put some bounds checking on that.
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
Draggin an ext.draw.Component in a Window
By johanhaest in forum Ext: DiscussionReplies: 7Last Post: 11 Mar 2011, 2:00 AM -
[OPEN]Ext.Chart/ Ext.Draw missing features around handlers
By 4CastRisk in forum Ext:BugsReplies: 0Last Post: 10 Mar 2011, 4:16 AM -
[OPEN-621] 1.0.1 Ext.Component Orientation Issue
By benwhite in forum Sencha Touch 1.x: BugsReplies: 0Last Post: 2 Dec 2010, 6:10 AM -
Open a tab via link in a component
By fabads in forum Ext 3.x: Help & DiscussionReplies: 1Last Post: 23 Sep 2010, 4:38 AM -
TabItem re-draw issue
By cormet in forum Community DiscussionReplies: 5Last Post: 24 Nov 2008, 7:06 PM


Reply With Quote