From 07ad4e45f8042c20145c158fdd38f4f31c70d816 Mon Sep 17 00:00:00 2001 From: Himanshu Date: Fri, 28 Jun 2013 18:03:09 +0530 Subject: [PATCH 1/1] Fixed landscape label bounds in ImageListEditorFormin Orientation changed Change-Id: I33bdab53e0e46f46d26d71318ff910a00b0dd926 Signed-off-by: Himanshu --- src/GlImageListEditorPanel.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/GlImageListEditorPanel.cpp b/src/GlImageListEditorPanel.cpp index bef75fe..236db24 100644 --- a/src/GlImageListEditorPanel.cpp +++ b/src/GlImageListEditorPanel.cpp @@ -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); } -- 2.7.4