TSimpleGraph Grid problem with 10,20,24 grids

Please post bug reports, feature requests, or any question regarding the DELPHI AREA projects here.

TSimpleGraph Grid problem with 10,20,24 grids

Postby HPW » February 25th, 2006, 10:28 am

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?
Hans-Peter
HPW
Moderator
Moderator
 
Posts: 238
Joined: February 25th, 2006, 10:19 am
Location: Germany

Postby Kambiz » February 25th, 2006, 2:26 pm

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.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm


Return to DELPHI AREA Projects

Who is online

Users browsing this forum: No registered users and 0 guests

cron