Comment 6 for bug 1692442

Revision history for this message
Jeff Young (jeyjey) wrote :

@JP, in the end that patch exceeded my hack-o-meeter alarm setting, so I'm going to withdraw it.

However, we do have a real problem with DIALOG_SHIMs resizing. It does it through routines which ignore the minimum size requirements (at least on some platforms) and so messes up anything which is dynamically sized (like this dialog, or the Plot dialog with different SVG/DXF/etc. settings, or the Exchange Footprints dialog with update vs. change sections, etc.)

There are two cases: the dialog has already been opened with the current layout, in which case we saved the size when it was closed and the saved size will have no effect; or the dialog has just been created / layed-out and we should set the location but only adjust the size if the saved size is larger.