Stewart, could you send me [directly] a small example application demonstrating the issue?Sean
On Jan 25, 2017, at 5:04 PM, Stewart Aitken <[log in to unmask]> wrote:Here are three small images that show what is happening.
Hopefully, this will help my explanation.
On 25 January 2017 at 16:01, Stewart Aitken <[log in to unmask]>
wrote:--I am having difficulties with getting the grid lines and border to function as I would like.
agentSpace = new ObjectGrid2D(14,10);
I am using these settings on Windows 10 with MASON 19 with the updated setBorder gives the correct agent scale and a complete on all four sides red border.
When I activate the setGridlines it only gives a single blue line about a quarter of the way from the right-hand side. The red border remains the same as above. Subsequently, changing agentspace to:
agentSpace = new ObjectGrid2D(140,100);
Gives the correct number of cells within the borders but the agents are substantially smaller than they are without the gridlines. In addition, the red border fails to show on the right-hand edge and the bottom edge.
How can I arrange for the agents to have a single agent in each grid cell and ensure they fill the cell?
Any help gratefully received.
EMAIL DISCLAIMER http://www.york.ac.uk/docs/
[log in to unmask]">[log in to unmask]">[log in to unmask]">