hrev51949 adds 1 changeset to branch 'master'
old head: db9b70ee54c4896f8db1515e57ff68bd847fbbbe
new head: f42d4b5cc4c1ac580b58ee001b36cdb44b5ac6aa
overview:
https://git.haiku-os.org/haiku/log/?qt=range&q=f42d4b5cc4c1+%5Edb9b70ee54c4
----------------------------------------------------------------------------
f42d4b5cc4c1: CodyCam: center error messages
[ Sergei Reznikov <diver@xxxxxxxxxx> ]
----------------------------------------------------------------------------
Revision: hrev51949
Commit: f42d4b5cc4c1ac580b58ee001b36cdb44b5ac6aa
URL: https://git.haiku-os.org/haiku/commit/?id=f42d4b5cc4c1
Author: Sergei Reznikov <diver@xxxxxxxxxx>
Date: Fri May 18 12:12:13 2018 UTC
----------------------------------------------------------------------------
1 file changed, 1 insertion(+)
src/apps/codycam/CodyCam.cpp | 1 +
----------------------------------------------------------------------------
diff --git a/src/apps/codycam/CodyCam.cpp b/src/apps/codycam/CodyCam.cpp
index 7759669863..5fafe64a77 100644
--- a/src/apps/codycam/CodyCam.cpp
+++ b/src/apps/codycam/CodyCam.cpp
@@ -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();