rtitec / miglayout

Automatically exported from code.google.com/p/miglayout
0 stars 0 forks source link

MigLayout class is final #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm using the last stable Miglayout 4.0 and got a Problem, that my Containers 
in the layout could maximal be 32767 pixels wide.

The problem was found soon in the following method:
public Dimension maximumLayoutSize(Container parent)
{
   return new Dimension(Short.MAX_VALUE, Short.MAX_VALUE);
}

the problem now is, i can't create a new class to overwrite the methode, 
because the MigLayout class is final.
Please don't do that.

Regards

Original issue reported on code.google.com by Manauer....@gmail.com on 21 Jan 2015 at 4:24

GoogleCodeExporter commented 9 years ago
Mikael removed the final from the class and if all is well a new 5.1 snapshot 
should be out there.

Original comment by tbeer...@gmail.com on 22 Jan 2015 at 6:01

GoogleCodeExporter commented 9 years ago

Original comment by tbeer...@gmail.com on 22 Jan 2015 at 9:17