From 9d14d3fe538b8e891875cf87ddaea841eed2205f Mon Sep 17 00:00:00 2001 From: Richard Huang Date: Tue, 26 May 2015 17:06:44 +0100 Subject: [PATCH] Update UTC for TableView Change-Id: I01ff59952592959dd53cdcd8a18fbe72f4929b41 --- automated-tests/src/dali-toolkit/utc-Dali-TableView.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/automated-tests/src/dali-toolkit/utc-Dali-TableView.cpp b/automated-tests/src/dali-toolkit/utc-Dali-TableView.cpp index 30f0cda..8e6bffa 100644 --- a/automated-tests/src/dali-toolkit/utc-Dali-TableView.cpp +++ b/automated-tests/src/dali-toolkit/utc-Dali-TableView.cpp @@ -438,6 +438,10 @@ int UtcDaliTableViewCells(void) tableView.AddChild(actor1, TableView::CellPosition(110, 110, 5, 5)); DALI_TEST_CHECK( tableView.GetRows() == 115 && tableView.GetColumns() == 115 ); + // Set the alignment of the cell + tableView.SetCellAlignment( TableView::CellPosition(100, 100, 1, 1), HorizontalAlignment::CENTER, VerticalAlignment::CENTER ); + tableView.SetCellAlignment( TableView::CellPosition(110, 110, 5, 5), HorizontalAlignment::LEFT, VerticalAlignment::TOP ); + DALI_TEST_CHECK( true ); END_TEST; } -- 2.7.4