Fixed Popup issue similar to issue 36982
authorHimanshu Talwar <himanshu.t@samsung.com>
Tue, 30 Apr 2013 09:00:54 +0000 (14:30 +0530)
committerHimanshu Talwar <himanshu.t@samsung.com>
Tue, 30 Apr 2013 09:00:54 +0000 (14:30 +0530)
Change-Id: I44e4e35b6e7ebba845fe704b1c976bf4886ccdc2
Signed-off-by: Himanshu Talwar <himanshu.t@samsung.com>
res/screen-size-normal/IDL_SLIDESHOW_SETTING_POPUP.xml
src/GlSlideShowPopUp.cpp

index c6d9165..4d7f7dd 100644 (file)
@@ -3,7 +3,7 @@
        This XML file was automatically generated by UiBuilder - do not modify by hand.
 -->
 <!DOCTYPE ScenePopup SYSTEM "UIForm.dtd">
-<ScenePopup Bversion="2.0.0.201304191935" Dversion="20120315">
+<ScenePopup Bversion="2.0.0.201304261605" Dversion="20120315">
     <Popup id="IDL_SLIDESHOW_SETTING_POPUP">
         <property accessibilityHint="" color="#FFFFFF" titleText="::IDS_MEDIABR_OPT_SLIDESHOW" titleTextColor=""/>
         <layout height="440.0" mode="Portrait" style="" type="LAYOUT_RELATIVE" width="620.0"/>
@@ -11,7 +11,7 @@
     </Popup>
     <ListView id="IDC_POPUP_LIST" parent="IDL_SLIDESHOW_SETTING_POPUP">
         <property backgroundBitmapPath="" backgroundColor="#FFFFFF" backgroundColorOpacity="0" bitmapPathOfEmptyList="" colorOfEmptyListText="" itemDivider="true" itemDividerColor="" listScrollStyle="SCROLL_STYLE_FADE_OUT" scrollInputMode="SCROLL_INPUT_MODE_ALLOW_ANY_DIRECTION" sweepEnabled="false" textOfEmptyList=""/>
-        <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="226.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="592.0" x="25.0" y="3.0"/>
+        <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="226.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_SLIDESHOW_SETTING_POPUP" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="IDL_SLIDESHOW_SETTING_POPUP" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="620.0" x="0.0" y="3.0"/>
         <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="224.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="553.0" x="44.0" y="2.0"/>
     </ListView>
     <Button id="IDC_BUTTON" parent="IDL_SLIDESHOW_SETTING_POPUP">
index 73e9229..7c6a2a4 100644 (file)
@@ -128,14 +128,14 @@ SlideShowPopUp::CreateItem(int index, int itemWidth)
        {
        case 0:
        {
-               pItem->AddElement(Rectangle(0, 0, GetClientAreaBounds().width, listItemHeight), ID_FORMAT_START,
+               pItem->AddElement(Rectangle(25, 0, GetClientAreaBounds().width, listItemHeight), ID_FORMAT_START,
                                ResourceManager::GetString(L"IDS_MEDIABR_OPT_START_SLIDESHOW"), true);
        }
        break;
 
        case 1:
        {
-               pItem->AddElement(Rectangle(0, 0, GetClientAreaBounds().width, listItemHeight), ID_FORMAT_SETTING,
+               pItem->AddElement(Rectangle(25, 0, GetClientAreaBounds().width, listItemHeight), ID_FORMAT_SETTING,
                                ResourceManager::GetString(L"IDS_MEDIABR_BODY_SLIDESHOW_SETTINGS"), true);
        }
        break;