Hi Jan,

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.

>> I think that the responsable is RTResizeableViewContextInteraction, this class is used by GTInspector

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

>> I think that we design it has Window(Morph) Event.

Please let me know if I can help you in this case.

Cheers,
Milton

2016-02-05 8:13 GMT-04:00 Jan Blizničenko <bliznjan@fit.cvut.cz>:
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




--
View this message in context: http://forum.world.st/Roassal2-RTGridView-not-updating-on-zoom-tp4876032.html
Sent from the Moose mailing list archive at Nabble.com.
_______________________________________________
Moose-dev mailing list
Moose-dev@list.inf.unibe.ch
https://www.list.inf.unibe.ch/listinfo/moose-dev