1. #1
    Sencha User
    Join Date
    Oct 2012
    Posts
    5
    Vote Rating
    0
    stuti is on a distinguished road

      0  

    Default Not able to maximise window using Window.setmaximizable(true);

    Not able to maximise window using Window.setmaximizable(true);


    Hi,

    I am a GXT beginner.I am trying to open a window inside a layout container and below is the code for that but i need to have this window maximised on opening with a maximise button on the frame so that when i minimise using browser minimise the whole screen resize but this is not happening with the current available code .Kindly help me with this.


    int winWidth = (int) ((viewPort.getWidth() * 99.5) / 100);int winHeight = viewPort.getHeight();final Window win = new Window();
    win.setModal(
    false);win.setSize(winWidth, winHeight);win.setMaximizable(true);
    win.setResizable(true);

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,731
    Vote Rating
    90
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      0  

    Default


    That's right - setMaximizable(true) just means 'let the user maximize the window if they want'. I think instead that you want to call maximize(), which resizes it to full screen right away.

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