}
result
-DropDownCustomItem::Construct(int width , int height)
+DropDownCustomItem::Construct(int width, int height)
{
__width = width;
- __height = height + 28 ;
+ __height = height + 28;
Dimension dim(__width, __height);
result r = CustomItem::Construct(dim, LIST_ANNEX_STYLE_NORMAL);
return r;
int xMargin = 26;
int yMargin = 22;
- int subTextHeight = 42 ;
- int mainTextHeight = itemHeight - yMargin - subTextHeight ;
+ int subTextHeight = 42;
+ int mainTextHeight = itemHeight - yMargin - subTextHeight;
Tizen::Graphics::Bitmap* pDropperBitmapNormal = null;
- AddElement(Rectangle(xMargin, yMargin, __width - 126, mainTextHeight ), IDA_FORMAT_MAIN_STRING,__mainText, fontsize,
+ AddElement(Rectangle(xMargin, yMargin, __width - 126, mainTextHeight), IDA_FORMAT_MAIN_STRING,__mainText, fontsize,
CUSTOM_COLOR_TRANSPARENT, CUSTOM_COLOR_TRANSPARENT, CUSTOM_COLOR_TRANSPARENT);
- AddElement(Rectangle(xMargin, yMargin + mainTextHeight , __width - 126, subTextHeight), IDA_FORMAT_SUB_STRING,__subText, 34, CUSTOM_COLOR_GREY,
+ AddElement(Rectangle(xMargin, yMargin + mainTextHeight, __width - 126, subTextHeight), IDA_FORMAT_SUB_STRING,__subText, 34, CUSTOM_COLOR_GREY,
CUSTOM_COLOR_GREY,CUSTOM_COLOR_GREY);
AppResource* pAppResource = UiApp::GetInstance()->GetAppResource();
AddElement(Rectangle(__width - 95, (__height - 74) / 2, 74, 74), IDA_FORMAT_DROPPER, *pDropperBitmapNormal, pDropperBitmapNormal, pDropperBitmapNormal);
delete pDropperBitmapNormal;
-
}
return E_SUCCESS;