Page 1 of 1

TSimpleGraph Grid problem with 10,20,24 grids

PostPosted: February 25th, 2006, 10:28 am
by HPW
Hello,

I am a newbie on TSimpleGraph.
Trying out TSimpleGraph demo 2.0 I found that grid-settings
with 10,20 or 24 for example does not work properly when
I want to draw a rectangle. Clicking for the top-left edge
snaps to the Grid, but then dragging the width and height does
no more snap to the grid. A grid of 10 snaps to 16,26, ... etc.

Where is the problem?

PostPosted: February 25th, 2006, 2:26 pm
by Kambiz
It's because of MinNodeSize property, and will be fix in the next update.

As a workaround you can use the same value for GridSize and MinNodeSize properties.