bool isOverlapped = true;
- if ((absKeypadBounds.y - commandButtonHeight) >= (absScrollPanelBounds.y + absScrollPanelBounds.height))
+ if (((absKeypadBounds.y - commandButtonHeight) >= (absScrollPanelBounds.y + absScrollPanelBounds.height)) || ( absScrollPanelBounds.y > absKeypadBounds.y))
{
isOverlapped = false;
}
{
if (gapY > initialParentHeight)
{
+ if (scrollPanelBounds.height > initialParentHeight)
+ {
+ __initialParentHeight = scrollPanelBounds.height ;
+ return;
+ }
+
SysLog(NID_UI_CTRL, "Set ScrollPanel's height to %f", __initialParentHeight);
scrollPanelBounds.height = initialParentHeight;
if (gapY > 0.0f)
{
+ if (scrollPanelBounds.height > initialParentHeight)
+ {
+ __initialParentHeight = scrollPanelBounds.height ;
+ }
+
SysLog(NID_UI_CTRL, "Set ScrollPanel's height to %f", gapY);
scrollPanelBounds.height = gapY;
__pParentPanel->SetBounds(scrollPanelBounds);
else
{
indicatorwidth = _ControlManager::GetInstance()->_ControlManager::GetScreenSizeF().height;
- GET_SHAPE_CONFIG(FORM::INDICATOR_MINIMIZE_HEIGHT, GetOrientation(), indicatorheight);
+ GET_SHAPE_CONFIG(FORM::INDICATOR_HEIGHT, GetOrientation(), indicatorheight);
}
__pIndicator->SetBounds(FloatRectangle(0.0f, 0.0f, indicatorwidth, indicatorheight));
}
else
{
- GET_SHAPE_CONFIG(FORM::INDICATOR_MINIMIZE_HEIGHT, GetOrientation(), indicatorheight);
+ GET_SHAPE_CONFIG(FORM::INDICATOR_HEIGHT, GetOrientation(), indicatorheight);
__pIndicator->SetBounds(FloatRectangle(0.0f, 0.0f, landscapeSize.width, indicatorheight));
}