1. #1
    Sencha Premium Member
    Join Date
    Jan 2011
    Posts
    5
    Answers
    1
    Vote Rating
    0
    ambo is on a distinguished road

      0  

    Default Unanswered: ComboBox Masking

    Unanswered: ComboBox Masking


    Hi.

    I need help to set combo mask to be in element position.
    Currently, the mask is displayed at the FieldLabel not the combobox.

    combobox.png

    I used this code to set the mask. (csa_count is the comboxbox object)

    fLabel = new FieldLabel(csa_count, "csa_count");
    fLabel.setLabelWidth(labelWidth);
    p.add(fLabel,new VerticalLayoutData(1, -1));

    csa_count.mask("Loading...");

    Thanks.

  2. #2
    Ext GWT Premium Member icfantv's Avatar
    Join Date
    Sep 2011
    Location
    Superior, CO
    Posts
    411
    Answers
    20
    Vote Rating
    21
    icfantv will become famous soon enough icfantv will become famous soon enough

      0  

    Default


    First, I would strongly recommend against masking a specific element like you are doing. Masking is typically done a the window/dialog/grid level. I understand what you're trying to accomplish here but it looks a little ridiculous. Consider disabling your combo box and setting the text to "Loading..." instead.

    That said, since FieldLabel extends Component, it has the various mask methods and you can call on your FieldLabel instance instead of the widget. This probably won't yield more desirable behavior and if not, it may be because the layouts/margins are a bit horked and the way to test this would be to try and add a mask on your User Details "window."

    Finally, what version of GXT are you using? There is a bug in the mask method that wasn't fixed after GC and is NOT in the GPL version.

Thread Participants: 1

Tags for this Thread

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