Fixed landscape label bounds in ImageListEditorFormin Orientation changed
authorHimanshu <himanshu.t@samsung.com>
Fri, 28 Jun 2013 12:33:09 +0000 (18:03 +0530)
committerHimanshu <himanshu.t@samsung.com>
Fri, 28 Jun 2013 12:52:26 +0000 (18:22 +0530)
Change-Id: I33bdab53e0e46f46d26d71318ff910a00b0dd926
Signed-off-by: Himanshu <himanshu.t@samsung.com>
src/GlImageListEditorPanel.cpp

index bef75fe..236db24 100644 (file)
@@ -651,5 +651,9 @@ ImageListEditorPanel::ChangeOrientation(void)
 
        Rectangle clientAreaBounds = pForm->GetClientAreaBounds();
        SetBounds(0, 0, clientAreaBounds.width, clientAreaBounds.height);
-       __pContentIconListView->SetBounds(0, 0, clientAreaBounds.width, clientAreaBounds.height);
+       if ( __pLabelSelectCnt != NULL )
+       {
+       __pLabelSelectCnt->SetBounds(0, clientAreaBounds.height - H_COUNT_LABEL, clientAreaBounds.width, H_COUNT_LABEL);
+       }
+       __pContentIconListView->SetBounds(0, 0, clientAreaBounds.width, clientAreaBounds.height -H_COUNT_LABEL);
 }