Remove gaps between ContentArea in v1.1.0

Hi,

in your new version, setMinimumAreaSize() doesn’t work. Is there a new method?
In version 1.0.8, that method removed the gaps between the docks.

Here the code:


CControl control=...
CContentArea contentArea = ...
.
.
.
contentArea = control.getContentArea();
contentArea.setMinimumAreaSize(new Dimension(0,0));
 

It’s a bug, I’ll fix this in the next release.

As workaround you can use this method:

		area.getNorth().getStation().setMinimumSize( size );
		area.getSouth().getStation().setMinimumSize( size );
		area.getWest().getStation().setMinimumSize( size );
		area.getEast().getStation().setMinimumSize( size );
	}```

Ok thx. I’ll try it and i’ll give you a feedback.

Thx the workaround works :slight_smile:
But it has to called this methods


<LI style="FONT-WEIGHT: normal">[FONT=Courier New]**public** **void** setMinimumAreaSize( CContentArea area, [Dimension](http://www.google.com/search?hl=en&q=allinurl%3ADimension+java.sun.com&btnI=I%27m%20Feeling%20Lucky) size ){
<LI style="FONT-WEIGHT: normal">        area.getNorthArea().getStation().setMinimumSize( size );
<LI style="FONT-WEIGHT: normal">        area.getSouthArea().getStation().setMinimumSize( size );
<LI style="FONT-WEIGHT: normal">        area.getWestArea().getStation().setMinimumSize( size );
<LI style="FONT-WEIGHT: normal">        area.getEastArea().getStation().setMinimumSize( size );
<LI style="FONT-WEIGHT: normal">    }
[/FONT]

Sorry, please delete the above code


public void setMinimumAreaSize( CContentArea area, Dimension size ){
        area.getNorth().getStation().setMinimumSize( size );
        area.getSouth().getStation().setMinimumSize( size );
        area.getWest().getStation().setMinimumSize( size );
        area.getEast().getStation().setMinimumSize( size );
 }