fix for N_SE 55652
authorvipul <vipul.kumar@samsung.com>
Tue, 22 Oct 2013 08:38:19 +0000 (14:08 +0530)
committervipul <vipul.kumar@samsung.com>
Wed, 23 Oct 2013 08:52:40 +0000 (14:22 +0530)
Signed-off-by: vipul <vipul.kumar@samsung.com>
Change-Id: Ib6d572fb302ce072550d7c9afd39b05543ab8ae2

src/ui/controls/FUiCtrl_OptionMenu.cpp

index 74a6028..d91f16b 100644 (file)
@@ -524,6 +524,13 @@ _OptionMenu::OnAttachedToMainTree(void)
                }
        }
 
+       __layout = GetOwner()->GetOrientation();
+
+       if (!__isMaxVisibleCountSet)
+       {
+               GET_SHAPE_CONFIG(OPTIONMENU::MAX_VISIBLE_ITEM_COUNT, __layout, __showItemCount);
+       }
+
        __pOptionMenuPresenter->CalculateItemMaximumWidth();
 
        r = __pOptionMenuPresenter->CalculateWindowRect();