NogginBops / ImGui.NET_OpenTK_Sample

A sample project showing an ImGui (using ImGui.NET) renderer for OpenTK in C#
106 stars 27 forks source link

Using imgui docking feature #19

Closed LuisMerinoP closed 2 years ago

LuisMerinoP commented 2 years ago

Hello,

I tried changing some of the nuget packages to make the docking work:

1.- Update to the latest 1.87.3 -> nothing brakes, but docking does not work 2.- Remove the imgui.net package and install the ImGui.Net.Docking package latest 1.75.0 -> the program runs normally and the demo is shown but docking does not work.

I wanted to ask for some advice in case there is a better option than compiling the original library in the docking branch and try import the .dll instead of using the nuget package. In the package source repo, in the docking branch, the docking feature works.

Thanks a lot in advanced

LuisMerinoP commented 2 years ago

oh, docking needs to be enabled: ImGui.GetIO().ConfigFlags |= ImGuiConfigFlags.DockingEnable;