g3n / g3nd

G3N Game Engine Demo
BSD 2-Clause "Simplified" License
281 stars 31 forks source link

Bug in gui Table example #31

Open MrWaggel opened 4 years ago

MrWaggel commented 4 years ago

The right-click menu becomes invisible after rows in the table have been modified.

When you load the example, right click on the first two default entries, the right click menu works as supposed. However, if you add some rows to the table, the right click menu will be rendered underneath the new rows. You can see it by right clicking one of the first two rows again.

danaugrs commented 2 years ago

Thanks @MrWaggel, I've confirmed this is still an issue.

Bluebottle-new commented 6 months ago

Not sure about the cause of it but it seems I found a workaround.

When the lines

tab.SetTopChild(mCol)
tab.SetTopChild(mRow)

are added into this function, then the menues appear at the top.

Seems to me that somehow the z-order of the newly added rows is different than the original two rows.