It looks like you're new here. If you want to get involved, click one of these buttons!
I was trying out the new functionality of disabling / hiding parameters with callback_impl. (KLayout version 0.28.12)
In this demo example, turning 'Cover' to On will lead on more parameters to appear
It seems that the new parameters try to fit in the same available space as before, leading to a resizing on all the forms inside the dialog. In order to fix that, I have to manually trigger an update to the form, for example by clicking 'Show parameter names'.
Additionally, if I turn 'Cover' to 'Off' again, it seems that the available parameters expand to the new much bigger space available
I am using KLayout with pya and unfortunately I haven't figured out a way to call an update on the parameter page every time a parameter appears or disappears. Is there a workaround to this?
Thank you,
Stavros
Comments
Hi Stavros,
what is the Qt version and OS you're using?
And maybe you can share some sample code?
Thanks,
Matthias
Hi Matthias,
Thank you for the reply, I am using Qt version 5.15.8, running on CentOS release 7.9.2009.
Below is a sample PCell with a few params and a callback_impl implementation. The actual geometry implementation is not shown here, but it reads from a GDS produced externally based on the params.
Thank you,
Stavros
Hi @Stavros,
thanks ... I can reproduce the problem now.
I have created a ticket for this: https://github.com/KLayout/klayout/issues/1603
Matthias
Hi @Matthias ,
Thank you for your help! I will keep track on the ticket.
Kind regards,
Stavros