Results 1 to 2 of 2

Thread: Show multiple white spaces between words

  1. #1

    Default Show multiple white spaces between words

    I am using label component(proStartDateAccessLabel) and set value at the load time

    Code:
    proStartDateAccessLabel.setText("Start Date :                     "+record.data.start_date);
    I need space between Start Date : and record.data.start_date.
    I don't know how to use
    wrap text in a
    <pre> tag, or use &nbsp;
    in above line

    Any idea to do this?

  2. #2
    Sencha User
    Join Date
    Jan 2011
    Posts
    549

    Default

    Could you use labelWidth on the form element to ensure the labels are always long enough (and the same width to improve legibility)?

    Alternatively right click the element, and inspect it to see what class it has applied. Then just add some css right padding to this class.

Tags for this Thread

Posting Permissions

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