Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext User
    Join Date
    Aug 2010
    Posts
    46
    Vote Rating
    0
    4CastRisk is on a distinguished road

      0  

    Default [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:

    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
    Throws an error in firefox:

    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>

  2. #2
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    20
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    Thank you for the report, we'll put some bounds checking on that.

Similar Threads

  1. Draggin an ext.draw.Component in a Window
    By johanhaest in forum Ext: Discussion
    Replies: 7
    Last Post: 11 Mar 2011, 2:00 AM
  2. Replies: 0
    Last Post: 10 Mar 2011, 4:16 AM
  3. [OPEN-621] 1.0.1 Ext.Component Orientation Issue
    By benwhite in forum Sencha Touch 1.x: Bugs
    Replies: 0
    Last Post: 2 Dec 2010, 6:10 AM
  4. Open a tab via link in a component
    By fabads in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 23 Sep 2010, 4:38 AM
  5. TabItem re-draw issue
    By cormet in forum Community Discussion
    Replies: 5
    Last Post: 24 Nov 2008, 7:06 PM

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi