1. #1
    Ext User
    Join Date
    Mar 2009
    Posts
    4
    Vote Rating
    0
    safisoft13 is on a distinguished road

      0  

    Question using com.extjs.gxt.ui.client.fx.Resizable

    using com.extjs.gxt.ui.client.fx.Resizable


    Hello, and exuse my bad english,
    I would like to know how can I obtain the same result as in :
    http://www.extjs.com/deploy/dev/exam...ble/basic.html
    using GXT? especially with pictures (Image class)? Thanks

  2. #2
    Ext User
    Join Date
    Oct 2008
    Location
    Atlanta ,GA
    Posts
    239
    Vote Rating
    0
    kolli is on a distinguished road

      0  

  3. #3
    Ext User
    Join Date
    Mar 2009
    Posts
    4
    Vote Rating
    0
    safisoft13 is on a distinguished road

      0  

    Question


    thanks, but Image is a com.google.gwt.user.client.ui.Widget where the constructor of Resizable takes a BoxComponent!! that is my problem.

  4. #4
    Ext User
    Join Date
    Oct 2008
    Location
    Atlanta ,GA
    Posts
    239
    Vote Rating
    0
    kolli is on a distinguished road

      0  

    Default


    I think you can put that in a layoutcontainer or a contentpanel and set the layout to fit layout, which should resize the image.

  5. #5
    Ext User
    Join Date
    Mar 2009
    Posts
    4
    Vote Rating
    0
    safisoft13 is on a distinguished road

      0  

    Question


    Well, I have tried using a LayoutContainer, it works, but there is a problem: The layoutContainer is added to a VerticalPanel which is the right side of a HorizontalSplitPanel that is the main widget of a Window. So when the Window is not maximized, the Resizable works fine, but when it is maximized, it's like if the Resizable does not exist!
    Code:
    public class PhotoOverview extends VerticalPanel{
    
      private Image overview=new Image();
      private LayoutContainer lc=new LayoutContainer();
      
      public PhotoOverview(){
        super();
        overview.addLoadListener(new LoadListener(){
            public void onError(Widget sender) {
                MessageBox.alert("Erreur", "Erreur de chargement de la photo", null);            
            }
            public void onLoad(Widget sender) {
                if(box!=null)
                    box.close();
            }
        });
        lc.setLayout(new FitLayout());
        lc.add(overview);
        Resizable rsz = new Resizable(lc);
        rsz.preserveRatio=true;
        add(lc);
    }

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