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:
blessingpeters 2023-03-17 15:52:45 +00:00
Родитель bbb52ed0bc
Коммит 751e4466a7
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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];