Congratulations, Peter :)
I wouldn't call resizing windows "forceful" - it's one of basic
functions of
windows. Zooming by mouse wheel has been already handled, but not by
directly calling TRCamera methods (zooming by DynaCASE buttons in our case).
That mcz I linked in original message should fix it, although it would be
better if you verified it of course.
Jan
Peter Uhnák wrote
There was some edge cases when the grid that I
didn't cover (such as
forceful resizing of windows)… but I finished my studies today so I can
finally get back to programmingand look at this (unless Alex has already
fixed it).
Peter
On Fri, Feb 5, 2016 at 5:10 PM, Alexandre Bergel <
alexandre.bergel@
>
wrote:
> Hi Jan!
>
> Thanks!!!
> We will look into this.
>
> Alexandre
>
>
> > On Feb 5, 2016, at 9:13 AM, Jan Blizničenko <
bliznjan@.cvut
>
> wrote:
> >
> > 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.ht…
> > Sent from the Moose mailing list archive at
Nabble.com.
> > _______________________________________________
> > Moose-dev mailing list
> >
Moose-dev@.unibe
>
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel
http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
> _______________________________________________
> Moose-dev mailing list
>
Moose-dev@.unibe
_______________________________________________
Moose-dev mailing list
Moose-dev@.unibe
--
View this message in context:
http://forum.world.st/Roassal2-RTGridView-not-updating-on-zoom-tp4876032p48…
Sent from the Moose mailing list archive at
Nabble.com.