зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1670436 - Prevent localized strings from being truncated in the crash reporter client r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D172823
This commit is contained in:
Родитель
bbb52ed0bc
Коммит
751e4466a7
|
@ -379,7 +379,7 @@ static bool RestartApplication() {
|
|||
[checkbox setFrame:frame];
|
||||
}
|
||||
// keep existing spacing on left side, + 20 px spare on right
|
||||
float neededWidth = frame.origin.x + frame.size.width + 20;
|
||||
float neededWidth = frame.origin.x + checkbox.intrinsicContentSize.width + 20;
|
||||
if (neededWidth > windowFrame.size.width) {
|
||||
windowFrame.size.width = neededWidth;
|
||||
[mWindow setFrame:windowFrame display:true animate:NO];
|
||||
|
|
Загрузка…
Ссылка в новой задаче