Languages

Menu
Sites
Language
[SOLVED] Incorrect annex width reported by TableViewItem::GetAnnexWidthF().

Hi,

PROBLEM:

TableViewItem::GetAnnexWidthF() returns the same annex width for TABLE_VIEW_ANNEX_STYLE_DETAILED (a chevron) and TABLE_VIEW_ANNEX_STYLE_ONOFF_SLIDING (an on/off button). An on/off button is wider than a chevron, so GetAnnexWidthF(TABLE_VIEW_ANNEX_STYLE_ONOFF_SLIDING) should return a greater width.

TABLE_VIEW_ANNEX_STYLE_ONOFF_SLIDING has the same problem.

CONTEXT:

TableViewItem::GetAnnexWidthF() is called within Tizen::Ui::Controls::IGroupedTableViewItemProviderF::CreateItem() for Tizen::Ui::Controls::GroupedTableView.

SOLUTION:

Fix Tizen :).

Gary
 

Edited by: Brock Boland on 17 Mar, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

2 Replies
Chintan Gandhi
Hi Gary, Can you please tell me which version of Tizen SDK you are using? With current SDK i.e 2.2 RC1 , TableViewItem::GetAnnexWidthF() works all fine. Thanks.
Gary V
Apologies, false alarm. I retested everything and the problem was caused by an internal bug, but producing identical symptoms. TABLE_VIEW_ANNEX_STYLE_DETAILED is 72.00, TABLE_VIEW_ANNEX_STYLE_ONOFF_SLIDING is 135.00, TABLE_VIEW_ANNEX_STYLE_NORMAL is 0.00. Sorry! Gary