Results 1 to 3 of 3

Thread: Pickerfield value in bold

  1. #1
    Sencha User
    Join Date
    Oct 2007
    Posts
    89

    Default Pickerfield value in bold

    Hi,

    I use a pickerField (with treepanel) and I want that the text
    in the pickerfield be bold.

    I have add cls, style attributes in the config but it doesn't work.

    What's the solution

    Thanks

  2. #2
    Sencha User
    Join Date
    Jan 2010
    Location
    Kansas
    Posts
    522

    Default

    Quote Originally Posted by lenoil View Post
    Hi,

    I use a pickerField (with treepanel) and I want that the text
    in the pickerfield be bold.

    I have add cls, style attributes in the config but it doesn't work.

    What's the solution

    Thanks
    The text in a picker field is literally the value of the <input> field, so you need to style it via CSS like you normally would. So if you're using cls, you could do something like:

    Code:
    .someclass input {font-weight:bold;}
    Here's an example:


  3. #3
    Sencha User
    Join Date
    Oct 2007
    Posts
    89

    Default

    yes it work thanks you very much

    I have forgotten input

Posting Permissions

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