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.htm... Sent from the Moose mailing list archive at Nabble.com.
Hi Jan!
Thanks!!! We will look into this.
Alexandre
On Feb 5, 2016, at 9:13 AM, Jan Blizničenko bliznjan@fit.cvut.cz 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.htm... 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
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@me.com wrote:
Hi Jan!
Thanks!!! We will look into this.
Alexandre
On Feb 5, 2016, at 9:13 AM, Jan Blizničenko bliznjan@fit.cvut.cz
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.htm...
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
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
As for the naming (which I didn't create), TRResizeCanvasEvent is an Announcement event, and not a callback. (After all, canvas resizing is much more complex than resizing of a regular shape).
On Tue, Feb 9, 2016 at 4:13 PM, Peter Uhnák i.uhnak@gmail.com 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@me.com wrote:
Hi Jan!
Thanks!!! We will look into this.
Alexandre
On Feb 5, 2016, at 9:13 AM, Jan Blizničenko bliznjan@fit.cvut.cz
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.htm...
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
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
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.htm...
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-tp4876032p487... Sent from the Moose mailing list archive at Nabble.com.
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 <
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.htm...
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-tp4876032p487... 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
Hi!
I am a bit lost since it is not clear which action we can take on this. Is there a new piece of code we can try?
Cheers, Alexandre
On Feb 9, 2016, at 12:34 PM, Peter Uhnák i.uhnak@gmail.com wrote:
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 <
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.htm...
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-tp4876032p487... 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
Moose-dev mailing list Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
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.htm... 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