When resizing a window smaller the model shrinks to accommodate the resize, however when the window is resized larger the model does not grow. This causes the model to shrink smaller and smaller when the window is repeatedly resized.
I was able to reproduce this behavior using the DIView Sample on the latest build of DG Kernel 6.2
Model shrinks but does not grow on window resize
Re: Model shrinks but does not grow on window resize
You have a point, Aaron.
We are looking into it
Thank you
We are looking into it
Thank you
Re: Model shrinks but does not grow on window resize
Aaron, please check out today's 6.2.5296 update. We have made an improvement in the algorithm.
It is not official, as it is not tested properly and some apps may rely on the current behavior. To enable the new change please add iContext.SetBoolParam(24, false); like
somewhere on the start.
This is an undocumented parameter for v6.2. The default it true.
If it works OK for you, we will merge it to v7.0 as well.
On the main development branch it will be the default, if we do not encounter any problems with it. So the expectation is that the iContext.SetBoolParam(24, false); will net be needed in v7.1
Thanks for reporting
It is not official, as it is not tested properly and some apps may rely on the current behavior. To enable the new change please add iContext.SetBoolParam(24, false); like
Code: Select all
var iView = m_kernCAD.GetView() as IView_DG;
var iContext = iView as IKCContext;
iContext.SetBoolParam(24, false);
This is an undocumented parameter for v6.2. The default it true.
If it works OK for you, we will merge it to v7.0 as well.
On the main development branch it will be the default, if we do not encounter any problems with it. So the expectation is that the iContext.SetBoolParam(24, false); will net be needed in v7.1
Thanks for reporting
Re: Model shrinks but does not grow on window resize
Thanks Nick, this is much improved. I can still get the behavior when I resize repeatedly using our models, but it shrinks at a much lower rate so it is a big improvement over the previous build. I didn't encounter any issues when doing a quick test.
Re: Model shrinks but does not grow on window resize
Hi Nick, it looks like the 6.2 merge module did not get updated on the downloads page to contain this fix.
Re: Model shrinks but does not grow on window resize
Sorry, Aaron,
We had to change code signing service and it was fiddly. This is where the bug came from.
Today's 5297 update should work: Downloads.
Thanks for reporting
We had to change code signing service and it was fiddly. This is where the bug came from.
Today's 5297 update should work: Downloads.
Thanks for reporting