Menu

#12 Typo in method setBandsFinalHeight of AbstractLayoutManager

open
None
5
2011-01-24
2011-01-24
mdaloia
No

There is a typo inside the method setBandsFinalHeight() of AbstractLayoutManager.
When the method calculates the final band height through the footer instead of use isFitFooterHeightToContent() it is using isFitHeaderHeightToContent().

This affects for example GroupBuilder.setFooterHeight(Integer height,boolean fitHeightToConent) when you set fitHeightToConent to false it is ignored.

This bug exists in the trunk (currently revision 909).

Discussion

  • mdaloia

    mdaloia - 2011-01-24

    The patch that corrects the bug

     
  • mdaloia

    mdaloia - 2011-01-24
    • assigned_to: nobody --> djmamana
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.