static const float H_ICON_SCALE = 0.514;
static const int IDA_SETTING_FORM_PARSE_VCS_FILE_COMPLETE = 90001;
static const int H_ITEM_MARGIN = 68;
+static const int W_APPROX = 7;
class AsyncVcsParser
titleText.RemoveAll(true);
TableViewItem* pItem = new (std::nothrow) TableViewItem();
- pItem->Construct(Dimension(itemWidth, actualHeight + H_ITEM_MARGIN), TABLE_VIEW_ANNEX_STYLE_RADIO);
+ pItem->Construct(FloatDimension(itemWidth, actualHeight + H_ITEM_MARGIN), TABLE_VIEW_ANNEX_STYLE_RADIO);
pItem->SetBackgroundColor(Color(COLOR_EXPANDED_ITEM_BACKGROUND), TABLE_VIEW_ITEM_DRAWING_STATUS_NORMAL);
Label* pLabel = new (std::nothrow) Label();
- pLabel->Construct(Rectangle(0, 0, itemWidth - pItem->GetAnnexWidth(TABLE_VIEW_ANNEX_STYLE_RADIO), actualHeight+ H_ITEM_MARGIN),
+ pLabel->Construct(FloatRectangle(0, 0, itemWidth - pItem->GetAnnexWidthF(TABLE_VIEW_ANNEX_STYLE_RADIO) - W_APPROX, actualHeight+ H_ITEM_MARGIN),
title);
pLabel->SetTextConfig(__fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextHorizontalAlignment(ALIGNMENT_LEFT);
pItem->SetBackgroundColor(Color(COLOR_EXPANDED_ITEM_BACKGROUND), TABLE_VIEW_ITEM_DRAWING_STATUS_NORMAL);
Label* pLabel = new (std::nothrow) Label();
- pLabel->Construct(Rectangle(0, 0, itemWidth - pItem->GetAnnexWidth(TABLE_VIEW_ANNEX_STYLE_RADIO), actualHeight + H_ITEM_MARGIN),
+ pLabel->Construct(Rectangle(0, 0, itemWidth - pItem->GetAnnexWidth(TABLE_VIEW_ANNEX_STYLE_RADIO) - W_APPROX, actualHeight + H_ITEM_MARGIN),
title);
pLabel->SetTextConfig(__fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextHorizontalAlignment(ALIGNMENT_LEFT);