Migration dialog should resize its container when the MigrationWizard resizes
Categories
(Firefox :: Migration, task, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox111 | --- | fixed |
People
(Reporter: mconley, Assigned: mconley)
References
(Blocks 1 open bug, Regressed 1 open bug)
Details
Attachments
(1 file)
I thought this was done automatically for us, but apparently not: the new MigrationWizard will periodically change its height (for example, by changing which resource checkboxes are shown for a particular browser/profile pair), and that means that the container will also need to change size. For traditional XUL windows, that means calling sizeToContent()
, and apparently for TabDialogBox dialogs, that means calling resizeVertically()
.
This patch builds on top of bug 1809498 by passing in an onResize
function argument to the migration dialog that it can call when it detects that the MigrationWizard has resized. The caller will then be responsible for passing in the appropriate function based on the context of the dialog (a TabDialogBox, or a XUL window).
Assignee | ||
Comment 1•2 years ago
|
||
Depends on D166838
Updated•2 years ago
|
Comment 3•2 years ago
|
||
bugherder |
Description
•