Modify for N_SE-40500, Did not appear empty text when empty text has set in Uibuilder...
authorwonyoung12.lee <wonyoung12.lee@samsung.com>
Sun, 9 Jun 2013 07:17:25 +0000 (16:17 +0900)
committerwonyoung12.lee <wonyoung12.lee@samsung.com>
Sun, 9 Jun 2013 07:17:25 +0000 (16:17 +0900)
Change-Id: Ie3518d2d0c29fcfbb47e59d4073a8e577d5185e5
Signed-off-by: wonyoung12.lee <wonyoung12.lee@samsung.com>
src/ui/controls/FUiCtrl_IconListPresenter.cpp

index a7e562f..9786b40 100644 (file)
@@ -1678,6 +1678,12 @@ _IconListPresenter::DrawEmptyList(void)
                        bounds.y += emptyTextHeight + bitmapHeight;
                }
                bounds.height = textDimension.height;
+
+               if (pCanvas == null)
+               {
+                       pCanvas = __pEmptyListVE->GetCanvasN();
+               }
+
                pTextObject->SetBounds(bounds);
                pTextObject->Draw(*_CanvasImpl::GetInstance(*pCanvas));
        }