CodyCam: center error messages

This commit is contained in:
Sergei Reznikov
2018-05-18 15:12:13 +03:00
parent db9b70ee54
commit f42d4b5cc4
+1
View File
@@ -760,6 +760,7 @@ VideoWindow::ErrorAlert(const char* message, status_t err)
fErrorView->MakeEditable(false);
fErrorView->MakeSelectable(false);
fErrorView->SetWordWrap(true);
fErrorView->SetAlignment(B_ALIGN_CENTER);
fErrorView->SetExplicitMinSize(BSize(VIDEO_SIZE_X, VIDEO_SIZE_Y));
fErrorView->SetExplicitMaxSize(BSize(VIDEO_SIZE_X, VIDEO_SIZE_Y));
fErrorView->Show();