1. #11
    Sencha User riyaad's Avatar
    Join Date
    Jul 2011
    Location
    Cape Town
    Posts
    223
    Vote Rating
    1
    riyaad is on a distinguished road

      0  

    Default


    Absolute brilliance ... thank you
    I'm getting there ... one line @ a time.

  2. #12
    Sencha - Services Team AndreaCammarata's Avatar
    Join Date
    Jun 2009
    Posts
    1,384
    Vote Rating
    14
    AndreaCammarata will become famous soon enough AndreaCammarata will become famous soon enough

      0  

    Default


    You are welcome
    Sencha Inc
    Andrea Cammarata, Solutions Engineer
    CEO at SIMACS

    @AndreaCammarata
    www.andreacammarata.com
    github: https://github.com/AndreaCammarata


  3. #13
    Sencha User riyaad's Avatar
    Join Date
    Jul 2011
    Location
    Cape Town
    Posts
    223
    Vote Rating
    1
    riyaad is on a distinguished road

      0  

    Default


    Andrea

    If don't mind me asking this - why is the popup black?
    There's no code (from my side) that themes it black.

    ??

  4. #14
    Sencha User riyaad's Avatar
    Join Date
    Jul 2011
    Location
    Cape Town
    Posts
    223
    Vote Rating
    1
    riyaad is on a distinguished road

      0  

    Default Possible bug??

    Possible bug??


    Hi

    I've noticed that when using styleHTMLContent in conjunction with style, the previous width & height is ignored. Surely this shouldn't be the case?


    Code:
                var popup   = new Ext.Panel({
    				modal:true,
    				centered:true,
    				floating:true,
    				width:300,
    				height:320,
    				styleHtmlContent: true,
                    //style: 'background-color: white;',
                    /*items: [
                        {
                            xtype: 'toolbar',
                            docked: 'top',
                            //title: name
                        }
                    ],*/
    				html:'<h5>' + name + '</h5><div style="margin-bottom:10px;"><p>Summary... ' + summary + "</p></div>"
    			});
                popup.show();

  5. #15
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,684
    Vote Rating
    435
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    Just a note, in a future release (have no clue which) the docked config will change to dock.

    I would not use the style config, this is better placed in a CSS file and have cls specified on your panel.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!

    When posting code, please use BBCode's CODE tags.

  6. #16
    Sencha User riyaad's Avatar
    Join Date
    Jul 2011
    Location
    Cape Town
    Posts
    223
    Vote Rating
    1
    riyaad is on a distinguished road

      0  

    Default


    Thanks for the heads up

Tags for this Thread