Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions core/webapp/Impersonate.js
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,13 @@ Ext4.define('LABKEY.Security.ImpersonateRoles', {

this.items = [this.getPanel()];

// The role grid's flex column can be laid out before this window has a final, on-screen width, leaving its
// width stuck at Ext's internal box-layout measurement value (a very large placeholder). Forcing a relayout
// once the window has actually been shown recalculates the column against the real, rendered width.
this.on('show', function() {
this.roleGrid.updateLayout();
}, this);

this.callParent();
},

Expand Down