On Tue, Feb 9, 2016 at 3:59 PM, Jan Blizničenko <bliznjan@fit.cvut.cz> wrote:
Congratulations, Peter :)

Thanks :)
 

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.

Yes, the buttons are broken I'm aware of that, I just ignored it when I was creating RTGridView as I don't use the buttons themselves. (Unless your mouse or system is broken, there is really no reason to even have the buttons there...)
But I'll add it to my (currently infinite) todo queue. :)

Peter
 

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 &lt;

> alexandre.bergel@

> &gt;
> wrote:
>
>> Hi Jan!
>>
>> Thanks!!!
>> We will look into this.
>>
>> Alexandre
>>
>>
>> > On Feb 5, 2016, at 9:13 AM, Jan Blizničenko &lt;

> bliznjan@.cvut

> &gt;
>> 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.html
>> > Sent from the Moose mailing list archive at Nabble.com.
>> > _______________________________________________
>> > Moose-dev mailing list
>> >

> Moose-dev@.unibe

>> > https://www.list.inf.unibe.ch/listinfo/moose-dev
>>
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>>

> Moose-dev@.unibe

>> https://www.list.inf.unibe.ch/listinfo/moose-dev
>>
>
> _______________________________________________
> Moose-dev mailing list

> Moose-dev@.unibe

> https://www.list.inf.unibe.ch/listinfo/moose-dev





--
View this message in context: http://forum.world.st/Roassal2-RTGridView-not-updating-on-zoom-tp4876032p4876585.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