Fix the font formatting issues introduced by r40557, r40558.
Fixes #7238. Pointed by Diver. Thanks ... and sorry. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40559 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -621,7 +621,7 @@ PowerStatusReplicant::_AboutRequested()
|
|||||||
view->GetFont(&font);
|
view->GetFont(&font);
|
||||||
font.SetSize(18);
|
font.SetSize(18);
|
||||||
font.SetFace(B_BOLD_FACE);
|
font.SetFace(B_BOLD_FACE);
|
||||||
view->SetFontAndColor(0, strlen(B_TRANSLATE("PowerStatus"))-1, &font);
|
view->SetFontAndColor(0, strlen(B_TRANSLATE("PowerStatus")), &font);
|
||||||
|
|
||||||
alert->Go();
|
alert->Go();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -412,7 +412,7 @@ ProcessController::AboutRequested()
|
|||||||
view->GetFont(&font);
|
view->GetFont(&font);
|
||||||
font.SetSize(font.Size() * 1.5);
|
font.SetSize(font.Size() * 1.5);
|
||||||
font.SetFace(B_BOLD_FACE);
|
font.SetFace(B_BOLD_FACE);
|
||||||
view->SetFontAndColor(0, strlen(B_TRANSLATE("ProcessController"))-1, &font);
|
view->SetFontAndColor(0, strlen(B_TRANSLATE("ProcessController")), &font);
|
||||||
|
|
||||||
alert->Go();
|
alert->Go();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user