fix issue that cutting some of description.
authorChangyong Jeon <fin10.jeon@samsung.com>
Tue, 25 Jun 2013 10:43:34 +0000 (19:43 +0900)
committerChangyong Jeon <fin10.jeon@samsung.com>
Tue, 25 Jun 2013 10:43:34 +0000 (19:43 +0900)
Change-Id: I93ebd7de9793f7efe0d79a72875616a766f9636a

Installer/manifest.xml
Installer/src/IstDetailForm.cpp
InstallerService/manifest.xml
manifest.xml
packaging/apps.Installer.changes [new file with mode: 0644]

index 787a044..a8830ac 100644 (file)
@@ -9,7 +9,7 @@
         <Feature Name="http://tizen.org/feature/screen.size.normal">true</Feature>
     </Requirements>
     <Apps>
-        <ApiVersion>2.1</ApiVersion>
+        <ApiVersion>2.2</ApiVersion>
         <Privileges>
             <Privilege>http://tizen.org/privilege/packagemanager.info</Privilege>
             <Privilege>http://tizen.org/privilege/package.info</Privilege>
index d8d561b..45279f6 100644 (file)
@@ -261,15 +261,19 @@ DetailForm::CreateItem(int sectionIndex, int itemIndex, float itemWidth)
                        font.Construct(FONT_STYLE_PLAIN, __childFontSize);
                        float textHeight = GetTextHeight(pInfo->GetDescription(), font, itemWidth - 32.f);
 
-                       TableViewSimpleItem* pSimpleItem = new (std::nothrow) TableViewSimpleItem();
-                       pSimpleItem->Construct(layout, FloatDimension(itemWidth, 40.f+textHeight));
-                       pSimpleItem->SetBackgroundColor(Color(220, 218, 211), TABLE_VIEW_ITEM_DRAWING_STATUS_NORMAL);
-                       pSimpleItem->SetBackgroundColor(Color(220, 218, 211), TABLE_VIEW_ITEM_DRAWING_STATUS_PRESSED);
-                       pSimpleItem->SetBackgroundColor(Color(220, 218, 211), TABLE_VIEW_ITEM_DRAWING_STATUS_HIGHLIGHTED);
-                       pSimpleItem->SetItemContents(pInfo->GetDescription(), null);
-                       pSimpleItem->SetTextSize(__childFontSize);
-
-                       pItem = pSimpleItem;
+                       pItem = new (std::nothrow) TableViewItem();
+                       pItem->Construct(layout, FloatDimension(itemWidth, 40.f+textHeight));
+                       pItem->SetBackgroundColor(Color(220, 218, 211), TABLE_VIEW_ITEM_DRAWING_STATUS_NORMAL);
+                       pItem->SetBackgroundColor(Color(220, 218, 211), TABLE_VIEW_ITEM_DRAWING_STATUS_PRESSED);
+                       pItem->GetAccessibilityContainer()->GetElement(L"TableViewItem")->SetLabel(pInfo->GetDescription());
+
+                       Label* pLabel = new (std::nothrow) Label();
+                       pLabel->Construct(FloatRectangle(0, 0, 0, 0), pInfo->GetDescription());
+                       pLabel->SetTextConfig(__childFontSize, LABEL_TEXT_STYLE_NORMAL);
+                       pLabel->SetTextHorizontalAlignment(ALIGNMENT_LEFT);
+                       pLabel->GetAccessibilityContainer()->RemoveAllElements();
+
+                       pChildControl = pLabel;
                }
                break;
        }
index 7f89317..aef8ef6 100644 (file)
@@ -9,7 +9,7 @@
         <Feature Name="http://tizen.org/feature/screen.size.normal">true</Feature>
     </Requirements>
     <Apps>
-        <ApiVersion>2.1</ApiVersion>
+        <ApiVersion>2.2</ApiVersion>
         <Privileges>
             <Privilege>http://tizen.org/privilege/packagemanager.info</Privilege>
             <Privilege>http://tizen.org/privilege/package.info</Privilege>
index b30e215..de79cf1 100644 (file)
@@ -5,7 +5,7 @@
     <Type>C++App</Type>
     <Requirements/>
     <Apps>
-        <ApiVersion>2.1</ApiVersion>
+        <ApiVersion>2.2</ApiVersion>
         <Privileges>
             <Privilege>http://tizen.org/privilege/packagemanager.info</Privilege>
             <Privilege>http://tizen.org/privilege/package.info</Privilege>
diff --git a/packaging/apps.Installer.changes b/packaging/apps.Installer.changes
new file mode 100644 (file)
index 0000000..ef658d2
--- /dev/null
@@ -0,0 +1,4 @@
+* The Jun 25 2013 Changyong Jeon <fin10.jeon@samsung.com>
+- fix issue that cutting some of description.
+
+