Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    May 2009
    Posts
    118
    Vote Rating
    0
    mtarantini is on a distinguished road

      0  

    Default [FIXED][GXT 2.1] BorderLayoutData size not treated as pourcentage.

    [FIXED][GXT 2.1] BorderLayoutData size not treated as pourcentage.


    Hi,

    Detailed description of the problem
    It seems the size of the BorderLayoutData is not treated as pourcentage.

    GXT version
    GXT 2.1.1,GWT 2.0

    Host mode / web mode / both
    Both

    Browser and version

    Firefox 3.5
    IE 8
    Chrome 4

    Operating System
    WinXP SP3

    Sample code
    No need, the explanation below are enough explicit, as the source code talk by itself.

    The javadoc says that
    Code:
     Values of 1 or less are treated as percentages
    ,
    but the BorderLayout doesn't treat the 1 as %.

    In the BorderLayout Class, we find (line 295, 332,371,441).

    Code:
    float s = data.getSize() < 1 ? data.getSize() * size.height : data.getSize();
    wheras it should be

    Code:
    float s = data.getSize() <= 1 ? data.getSize() * size.height : data.getSize();
    I've just try by changing the < by <=, and its works as It should be.

    Thank for fixing the bug.

    Regards.
    Last edited by mtarantini; 6 Jan 2010 at 5:35 AM. Reason: Formatting, following the GuideLine.

  2. #2
    Sencha User
    Join Date
    May 2009
    Posts
    118
    Vote Rating
    0
    mtarantini is on a distinguished road

      0  

    Default


    So, when this will be fixed in SVN ?

    thx!

  3. #3
    Sencha User
    Join Date
    May 2009
    Posts
    118
    Vote Rating
    0
    mtarantini is on a distinguished road

      0  

    Default


    issue updated.

  4. #4
    Sencha - GXT Dev Team darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,241
    Vote Rating
    2
    darrellmeyer is on a distinguished road

      0  

    Default


    This bug is fixed in the releases/2.1 branch and is now available in the 2.1.1-beta release available here.

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar