1. #1
    Sencha Premium Member
    Join Date
    Dec 2007
    Posts
    45
    Vote Rating
    0
    bernd01 is on a distinguished road

      0  

    Default button rendering problem with own template

    button rendering problem with own template


    Hi all,

    I have a problem when using an own template with a button.
    Here is my template:
    PHP Code:
                button_template = new Ext.Template(
                    
    '<table cellspacing="0" border="0" height="50"><tbody>',
                    
    '<tr>' +
                    
    '<td>' +
                    
    '<table cellspacing="0" class="x-btn {3}" width="100%" height="100%"><tbody class="{4}">',
                    
    '<tr><td class="x-btn-tl"><i> </i></td><td class="x-btn-tc" width="70"></td><td class="x-btn-tc"></td><td class="x-btn-tr"><i> </i></td></tr>',
                    
    '<tr><td class="x-btn-ml"><i> </i></td><td class="x-btn-mc" width="70" height="70"><img src="data:image/png;base64,'this.profile_picture +'"></td><td class="x-btn-mc" style="text-align:left"><em class="{5}" unselectable="on" text-align="left"><button id="button_text_id_'this.id +'" class="x-btn-text {2}" type="{1}"><table border="1"><tr><td>&nbsp;&nbsp;&nbsp;'this.firstname +' 'this.lastname +'</td></tr><tr><td>&nbsp;&nbsp;&nbsp;'this.firstname +' 'this.lastname +'</td></tr></table></button></em></td><td class="x-btn-mr"><i> </i></td></tr>',
                    
    '<tr><td class="x-btn-bl"><i> </i></td><td class="x-btn-bc" width="70"></td><td class="x-btn-bc"></td><td class="x-btn-br"><i> </i></td></tr>',
                        
    "</tbody></table>" +
                    
    '</td>' +
                    
    '<td width="50" align="center">bla</td>' +
                    
    '</tr>',
                    
    '</tbody></table>'); 
    enclosed you can also find a picture with the button in it. The text in the middle should not be cuttet of horizontally.

    Does anybody know what is wrong here?

    Thanks a lot,
    Bernd
    Attached Images

Similar Threads

  1. Button resize rendering problem in IE
    By dbassett74 in forum Ext 3.x: Help & Discussion
    Replies: 10
    Last Post: 18 Nov 2009, 11:43 AM
  2. problem with rendering button
    By tubamanu in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 27 Aug 2009, 10:31 AM
  3. Button Rendering Problem
    By mikecx in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 11 Feb 2009, 7:20 AM
  4. Radio Button rendering problem?
    By harlequin516 in forum Ext GWT: Bugs (1.x)
    Replies: 1
    Last Post: 9 Jul 2008, 6:50 PM
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