Results 1 to 4 of 4

Thread: Need to add the space between the text in text field of the label

  1. #1
    Ext User
    Join Date
    Dec 2010
    Posts
    17
    Vote Rating
    0
      0  

    Default Need to add the space between the text in text field of the label

    Hi,

    {
    xtype
    :'label',

    columnwidth
    :0.30,

    id
    :'debugid',


    text
    :'Debug ,Info '
    }

    I want to introduce a large space betwen the 2 labels i.e. Debug and info. Could anybody guide me how to achive this?


  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    118
      0  

    Default

    Code:
    text: 'Debug     ,Info'

  3. #3
    Sencha Premium Member steffenk's Avatar
    Join Date
    Jul 2007
    Location
    Haan, Germany
    Posts
    2,676
    Vote Rating
    9
      0  

    Default

    or
    Code:
    text: 'Debug<span class="spacer">&nbsp;</span>,Info'
    vg Steffen
    --------------------------------------
    Release Manager of TYPO3 4.5

  4. #4
    Ext User
    Join Date
    Dec 2010
    Posts
    17
    Vote Rating
    0
      0  

    Default

    Thanks working it for me.
    Thanks a lot.

Similar Threads

  1. Replies: 4
    Last Post: 4 Feb 2011, 2:17 PM
  2. How to create a Field with label and html text instead of input field?
    By ihor.ko in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 25 May 2009, 2:24 AM
  3. space between label and text box
    By bhaskar1605 in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 26 Sep 2008, 4:51 AM
  4. [SOLVED] How do I add a description (help/hint text) below a text field?
    By dragontree in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 6 Jul 2007, 4:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •