result r = E_SYSTEM;
_UiBuilderControlLayout* pControlProperty = null;
Tizen::Base::String elementString;
- int notificationFrameHeight =0;
+ float quickpanelFrameHeight = 0.0f;
QuickPanelFrame* pQuickPanelFrame = dynamic_cast <QuickPanelFrame*>(GetContainer());
SysTryReturn(NID_UI_CTRL, pQuickPanelFrame != null, null, E_SYSTEM, "[E_SYSTEM] This instance is not constructed.");
if (pControlProperty->GetLayoutElement(L"height", elementString))
{
- Integer::Parse(elementString, notificationFrameHeight);
+ Float::Parse(elementString, quickpanelFrameHeight);
}
_UiBuilderLayoutType layoutType = UIBUILDER_LAYOUT_NONE;
if (layoutType == UIBUILDER_LAYOUT_NONE)
{
- r = pQuickPanelFrame->Construct(notificationFrameHeight);
+ r = pQuickPanelFrame->Construct(quickpanelFrameHeight);
}
else
{
if (E_SUCCESS == tempResult)
{
- r = pQuickPanelFrame->Construct(*pPortraitLayout, *pLandscapeLayout, notificationFrameHeight);
+ r = pQuickPanelFrame->Construct(*pPortraitLayout, *pLandscapeLayout, quickpanelFrameHeight);
}
else
{