Window resize #589
Replies: 5 comments 3 replies
-
On Thu, 17 Nov 2022 at 14:38, valleymouth ***@***.***> wrote:
Let's say I have a main window and another small one (like a PiP). When I
resize the main window, the small one also resizes, this apparently is the
default behaviour in VSG. How would one go about to maintain the size of
the small one unaltered?
Just tried the vsgwindows example and the two windows resize independently
as they should:
$ vsgwindows models/lz.vsgt models/teapot.vsgt
There is no code in the VSG to synchronize the resizing of two windows
together, so rather than default behavior I don't even know how it might be
possible.
Could you provide an example that illustrates the problem you are seeing?
Thanks,
Robert.
… Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi Robert, |
Beta Was this translation helpful? Give feedback.
-
HI Dennis.
On Fri, 18 Nov 2022 at 12:10, valleymouth ***@***.***> wrote:
Sorry, my explanation was horrible. Remember the multiple camera example
you developed for us at Arrival? They have multiple cameras by having
multiple RenderGraphs inside a CommandGraph. If you resize the window all
the RenderGraphs get resized.
I think the place it is done is in WindowResizeHandler maybe?Message ID:
***@***.***
com>
Ahh that's a different situation to multiple windows.
Multiple views on the same window will all be resized together. If you
want different behavior then you'll need to create your own
WindowResizeHandler and assign that to the RenderGraph. I haven't ever
tried this though.... so I don't know if there are any gotchas.
The vsgmultiviews example might be a good place to add a test for a custom
WindowResizeHandler.
Cheers,
Robert.
|
Beta Was this translation helpful? Give feedback.
-
hi,Robert, cheers, |
Beta Was this translation helpful? Give feedback.
-
Could you please create a new thread for your questions as Github
Discussion and a clear explanation of what you are trying to achieve and
what you have attempted to do so far. Thanks.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys,
Let's say I have a main window and another small one (like a PiP). When I resize the main window, the small one also resizes, this apparently is the default behaviour in VSG. How would one go about to maintain the size of the small one unaltered?
Cheers,
Denis
Beta Was this translation helpful? Give feedback.
All reactions