Opened 13 years ago

Closed 13 years ago

#7880 closed bug (invalid)

BColumnListView::RowAt(BPoint) returns wrong Row?

Reported by: cipri Owned by: axeld
Priority: normal Milestone: R1
Component: Kits/Interface Kit Version: R1/alpha3
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

I did the following. inherited a listview from bcolumnlistview and enableing PointerEvents. The listview has titled columns. In the hook MouseDown I was calling RowAt(where). The result was, that I was returned a wrong Row. To solve that problem, the method RowAt(BPoint) must subtract the hight of the Title. RowAt doesnt take in account the offset in the case of titled columns.

Change History (1)

comment:1 by anevilyak, 13 years ago

Resolution: invalid
Status: newclosed

That class is not part of Haiku's public API for quite a number of reasons, and will be replaced in the future. Please don't rely on it.

Note: See TracTickets for help on using tickets.