You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've created an inline widget (for a checkbox) inside the listbox following the wiki. Everything works fine, except for the implementation of the mouse_move event of my checkbox (that should highlight the line of the table):
Instead of highlighting the current line, this code always highlights the first line of the table.
Looking at the code at listbox.cpp, I believe the problem has to do with the line auto offset = ess_->content_view->origin().y / ess_->item_height(); inside the method hovered:
Hi,
I've created an inline widget (for a checkbox) inside the listbox following the wiki. Everything works fine, except for the implementation of the
mouse_move
event of my checkbox (that should highlight the line of the table):Instead of highlighting the current line, this code always highlights the first line of the table.
Looking at the code at
listbox.cpp
, I believe the problem has to do with the lineauto offset = ess_->content_view->origin().y / ess_->item_height();
inside the methodhovered
:In this case,
ess_->content_view->origin().y
always return 0 for every selection (even though thepos
variable is diferent).Thanks in advance.
The text was updated successfully, but these errors were encountered: