Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Jul 2010
    Posts
    14
    Vote Rating
    0
    iran is on a distinguished road

      0  

    Default [FNR] Problems with RowLayout

    [FNR] Problems with RowLayout


    I believe it's a bug because it started after upgrade from GXT 2.1.1 to 2.2.3.

    I'm having a layout problem with this combination of components (the indentation indicates parent/child relationship):

    Code:
    Window (FitLayout)
       ContentPanel (RowLayout and a ToolBar as top component)
          ContentPanel (any layout, RowData(1, -1) to use components height)
          Grid (RowData(1, 1) to fill space left in the parent panel
    The problem is the grid height isn't beeing expanded to fill the parent's ContentPanel space left. I had to force height on the grid (100%) or else the rows doesn't show, but still the vertical space is filled only after a window resize.

    I didn't test using another components.

    I'm sending three attachments.

    1. The window screenshot in version 2.1.1
    2. Same window screenshot in version 2.2.3
    3. A sample code to reproduce the problem.

    Nothing was changed in my code, except GXT version, and from that upgrade the problem started.

    More information:
    Executing in host mode
    Google Chrome 8.0.552.237
    Windows 7
    GWT 2.2.0

    I apologise if I'm wrong. Thanx.

  2. #2
    Sencha User
    Join Date
    Jul 2010
    Posts
    14
    Vote Rating
    0
    iran is on a distinguished road

      0  

    Default


    Forgot to send the attachments.
    Attached Images
    Attached Files

  3. #3
    Sencha User
    Join Date
    Jul 2010
    Posts
    14
    Vote Rating
    0
    iran is on a distinguished road

      0  

    Default


    Guys?

  4. #4
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Try to call layout(true) after showing the window

  5. #5
    Sencha User
    Join Date
    Jul 2010
    Posts
    14
    Vote Rating
    0
    iran is on a distinguished road

      0  

    Default


    I did it by adding a WindowListener to the window and it worked. But seems to me this is just a workaround, not an actual fix, since I will have to add an WindowListener to all my windows using RowLayout.

    First, is this the only solution?
    Second, is this I reported a real bug?
    Should I expect for a correction or use this workaround from now on?

  6. #6
    Ext GWT Premium Member takayser's Avatar
    Join Date
    Oct 2008
    Location
    Lucerne, Switzerland
    Posts
    188
    Vote Rating
    0
    takayser is an unknown quantity at this point

      0  

    Default


    I agree, this is annoying..

  7. #7
    Ext GWT Premium Member
    Join Date
    Mar 2009
    Posts
    226
    Vote Rating
    3
    The_Jackal is on a distinguished road

      0  

    Default


    This affects every RowLayout we have in a window (and we have many).

    I upgraded from 2.1.3 to 2.2.3 and RowLayout fails to work. It is caused by the rev 2183. You can replace the RowLayout class with a version in 2.1 or 2.1.3.

    As this breaks our application layout I'm going to raise it via support.

  8. #8
    Sencha User
    Join Date
    Oct 2008
    Posts
    5
    Vote Rating
    0
    sqtz is on a distinguished road

      0  

    Default


    I'm affected by this bug too.

  9. #9
    Ext GWT Premium Member
    Join Date
    Mar 2009
    Posts
    226
    Vote Rating
    3
    The_Jackal is on a distinguished road

      0  

    Default


    So the support response so far is that this change was made due to "a bug with hidden items". (I don't know what that bug is, or what it's impact is).

    The suggested solutions are:

    1: Call layout(true) on the window after showing it
    2: Roll back to the old version of RowLayout (be aware of the "hidden" bug)
    3: Override the window class show() method to call this.layout(true) at the end.

    I really think this bug should be addressed as it has compromised the Rowlayout should work.

    Update: Sencha told me the "hidden items fix" was done because "The row layout did not always size the the panels in the rowlayout correctly if some of them where hidden."

    Also option 1 and 3 above may cause so performance issues it you have complex windows.

  10. #10
    Sencha User
    Join Date
    Jul 2010
    Posts
    14
    Vote Rating
    0
    iran is on a distinguished road

      0  

    Default


    Did they give you some indication that this bug will be solved in future releases? I don't think it's nice to be forcedto apply a workaround everytime I need to use RowLayout, unless they say "this is it".

Similar Threads

  1. Help with RowLayout
    By vladcd in forum Ext 3.x: Help & Discussion
    Replies: 8
    Last Post: 23 Apr 2010, 7:04 AM
  2. RowLayout
    By jsknight in forum Ext 3.x: Help & Discussion
    Replies: 6
    Last Post: 3 Mar 2010, 1:42 AM
  3. Where can I get RowLayout
    By zeroed in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 27 May 2009, 3:18 AM
  4. Ext.ux.RowLayout
    By mangrar in forum Ext 2.x: User Extensions and Plugins
    Replies: 2
    Last Post: 19 Feb 2008, 4:26 AM

Thread Participants: 5

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