Login  Register

[Roassal2] RTGridView not updating on zoom

Posted by Jan Blizničenko on Feb 05, 2016; 12:13pm
URL: https://forum.world.st/Roassal2-RTGridView-not-updating-on-zoom-tp4876032.html

Hi

I was just passing by DynaCASE once again.
It uses RTGridView and I noticed that when I zoom out camera or resize (enlarge) window too much, grid remains too small in the center of the canvas with empty space around it.

Therefore I used few more events and callbacks which reset grid path in those cases.

mcz file: https://monosnap.com/file/044YyhaPtxCcwsModv7Cb5IotPpXPN

By the way why does RTCanvas use TRResizeCanvasEvent and not TRExtentCallback which would seem to me more uniform with rest of Trachel?

Jan Blizničenko