Closed andydotxyz closed 5 years ago
Hi! I took the example from https://github.com/golang-ui/nuklear/tree/master/cmd/nk-example
and pasted this menu block (after NkBegin
):
https://gist.github.com/xlab/bf17492dd89abb08c32a9348e6b3c5a6#file-main-go-L97-L107
It works just fine
Please try to fill the menu before adding any rows.
Apologies, I found that the cause was that the maxElementBuffer was not enough for the application (changing 1024 to 128 * 1024 fixed it)
I have converted some example code from nuklear (C) to nk and I cannot figure out why the menu does not display.
The Menu bar appears, and is clickable. But when it toggles on there is nothing visible on screen...