Comments (2)
Is this the desired behavior?
I'd believe so as popups are a bit of a hack - there are some pending PRs to solve this, so you might take a look at them and try if they solve also your issue.
what other components can't be used in a pop-up window ?
Can't tell the full list, but this might help a bit:
$ grep -Er NK_ASSERT Nuklear/ | grep -E POPUP
Nuklear/nuklear.h: NK_ASSERT(!(panel->type & NK_PANEL_SET_POPUP) && "popups are not allowed to have popups");
Nuklear/nuklear.h: NK_ASSERT(!(panel->type & NK_PANEL_SET_POPUP));
Nuklear/nuklear.h: NK_ASSERT(popup->layout->type & NK_PANEL_SET_POPUP);
Nuklear/nuklear.h: NK_ASSERT(panel->type & NK_PANEL_SET_POPUP);
Nuklear/src/nuklear_contextual.c: NK_ASSERT(panel->type & NK_PANEL_SET_POPUP);
Nuklear/src/nuklear_popup.c: NK_ASSERT(!(panel->type & NK_PANEL_SET_POPUP) && "popups are not allowed to have popups");
Nuklear/src/nuklear_popup.c: NK_ASSERT(!(panel->type & NK_PANEL_SET_POPUP));
Nuklear/src/nuklear_popup.c: NK_ASSERT(popup->layout->type & NK_PANEL_SET_POPUP);
from nuklear.
Thanks for the info, I finally just show the window as a normal window instead of a popup
from nuklear.
Related Issues (20)
- colorpicker - can't change hue before changing val/sat first HOT 1
- center window title at the middle HOT 2
- Cannot avoid STB_RECT_PACK_IMPLEMENTATION / STB_TRUETYPE_IMPLEMENTATION HOT 1
- Knob widgets HOT 2
- glfw Opengl4 demo Segmentation fault HOT 7
- Possible fix/improvement for d3d12 demo
- Resizing main nuklear window's height depending on inner content size HOT 1
- Is there some kind of multicombobox? HOT 9
- GDI+ (gdip), Text Input Copy/Paste/Ctrl+A not working HOT 5
- Create a SDL backend File_Browser HOT 1
- Way to "Grey out"/disable a widget? HOT 2
- Incorrect returned value in nk_group_scrolled_offset_begin
- Errors Reported By Facebook Infer
- Using SDL_GetWindowBordersSize() messes up everything. HOT 3
- Line chart performance: boxes on points make line charts much slower than without HOT 1
- Is it possible to know whether input is captured?
- Creating a nk_image with the sdl_renderer backend HOT 2
- Errors in compiling https://immediate-mode-ui.github.io/Nuklear/doc/#nuklear/example
- Two Issues with Fonts
- Inconsistent grabbing behavior in demos (click and drag property) HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nuklear.