1. #1
    Ext User
    Join Date
    Aug 2008
    Location
    Nimes - France
    Posts
    25
    Vote Rating
    0
    seb2nim is on a distinguished road

      0  

    Default How to force rendering of Component to use in GWT AbsolutePanel

    How to force rendering of Component to use in GWT AbsolutePanel


    Hi,

    My application contains a 'map' (like a google map one) and i have a transparent absolute panel over it so that i can place widgets floating over the map (like google map controls).

    The problem is i cannot add GXT components (not rendered??!!) on it.

    I 've read it's suggested to use AbsoluteLayout but this is not applicable in my case as i dont want to compute coordinates (map can be resized) :

    Code:
    absPanel.add(widget);
    DOM.setStyleAttribute(widget.getElement(), "position", "absolute");
    if (hrz.equals(HasHorizontalAlignment.ALIGN_LEFT)) {
        DOM.setIntStyleAttribute(widget.getElement(), "left", offsetHrz);
    } else if (hrz.equals(HasHorizontalAlignment.ALIGN_RIGHT)) {
        DOM.setIntStyleAttribute(widget.getElement(), "right", offsetHrz);
    } else if (hrz.equals(HasHorizontalAlignment.ALIGN_CENTER)) {
        DOM.setStyleAttribute(widget.getElement(), "left", "50%");
        DOM.setIntStyleAttribute(widget.getElement(), "marginLeft", offsetHrz);
    }
    Is there a way to achieve this ?

  2. #2
    Ext User
    Join Date
    Aug 2008
    Location
    Nimes - France
    Posts
    25
    Vote Rating
    0
    seb2nim is on a distinguished road

      0  

    Default


    In the respectable tradition to answer its own post :

    Use a sized GWT SimplePanel to wrap the GXT Component does the trick.

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