Results 1 to 4 of 4

Thread: Ext JS Window resize

  1. #1
    Sencha User
    Join Date
    Oct 2016
    Posts
    3

    Default Ext JS Window resize

    Hello,

    I use panels in Ext.window.Window in ExtJS, I want that these panels will be resizable with the window that contain them, I try many of thinks but I can't do it like that. Please, could you give me some advice?.

    Thanks.

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    Have you tried using height and width values containing percentages?

  3. #3
    Sencha User
    Join Date
    Oct 2016
    Posts
    3

    Default

    Thank you for your response. Madame Olga Petrova gave me this answer, and it's work.

    "
    If you use one panel inside of a window you could specify layout: 'fit' config for a window. If you use several panels and hbox or vbox layout for a window you could try to specify the following config:

    layout: {

    type: 'vbox',

    align: 'stretch'
    }


    You could find more information about layouts there: http://docs.sencha.com/extjs/6.2.1/g...s/layouts.html


    "

  4. #4
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    Glad to hear you've gotten it working and thanks for sharing your solution with the community.

Similar Threads

  1. Replies: 2
    Last Post: 13 Jun 2012, 2:46 AM
  2. [solved] GridPanel / Grid doesn't resize columns on window resize
    By tarsolya in forum Ext 1.x: Help & Discussion
    Replies: 19
    Last Post: 10 Apr 2012, 3:51 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •