#104 ProjectViewer fix gui initialization

closed-accepted
Alan Ezust
None
5
2011-11-25
2011-11-23
Jarek Czekalski
No

This is a path for bug #3440850
https://sourceforge.net/tracker/?func=detail&atid=565475&aid=3440850&group_id=588

This patch is a one-liner and an example that we shouldn't use a single object (like Dimension instance here) as an argument for different api calls, especially when changing value of the object between invocations. This resulted in setting preferredSize of a panel to Integer.MAX_VALUE. Being so small and obvious, this patch shouldn't make problem to apply it.

The plugin now lacks preferredSize setting. I only fixed the bug.

Discussion

  • Alan Ezust
    Alan Ezust
    2011-11-25

    • assigned_to: nobody --> ezust
    • status: open --> closed-accepted
     
  • Alan Ezust
    Alan Ezust
    2011-11-25

    Pushed to Git.
    afa06758c2c168e801f1351afa6b79b176a14577