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'm trying to make a single-selection list in egui. I've been roughly following the table demo (which also exhibits this problem). The problem is, the rows are only selectable (and hoverable) if you are over a blank area in the row. If you are hovering over, or clicking on a label in the row, the mouse pointer becomes a text cursor and the row is not selectable. How to remedy this so the entire row is treated the same, allowing me to click either on the blank space or the label and have that row be selected?
Alternatively, if there is a better way to make a selectable list, with each row a fixed width, where the entire row is selectable (whether it has a label or empty space), I'd also like to know. Thanks!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to make a single-selection list in egui. I've been roughly following the table demo (which also exhibits this problem). The problem is, the rows are only selectable (and hoverable) if you are over a blank area in the row. If you are hovering over, or clicking on a label in the row, the mouse pointer becomes a text cursor and the row is not selectable. How to remedy this so the entire row is treated the same, allowing me to click either on the blank space or the label and have that row be selected?
Alternatively, if there is a better way to make a selectable list, with each row a fixed width, where the entire row is selectable (whether it has a label or empty space), I'd also like to know. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions