1. #1
    Sencha User ITS_luka's Avatar
    Join Date
    Aug 2011
    Location
    Tbilisi, Georgia
    Posts
    19
    Vote Rating
    0
    ITS_luka is on a distinguished road

      0  

    Red face Answered: Change background image of read-only textfields

    Answered: Change background image of read-only textfields


    I want to change the background image only for the read-only fields...

    Code:
    TextField<String> tf = new TextField<String>();
    tf.setValue("abcde...");
    tf.setReadOnly(true);
    .....
    vp.add(tf);  for example....

    help, please

  2. 1. use firebug and see what css classes establish the current background for a textbox
    2. create a css class which fits your needs, set your wanted background image
    3. set the new css class using addStyleName to your read-only fields

    it should work.

  3. #2
    Sencha User
    Join Date
    Jun 2011
    Location
    Iasi, Romania
    Posts
    144
    Answers
    5
    Vote Rating
    0
    catalin.ciobanu is on a distinguished road

      0  

    Default


    1. use firebug and see what css classes establish the current background for a textbox
    2. create a css class which fits your needs, set your wanted background image
    3. set the new css class using addStyleName to your read-only fields

    it should work.

Thread Participants: 1

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