@tactif wrote:
Hi there ! I've discovered ImGui addon for Of and this is great ! Really !
I've made some tries to discover the way Imgui's API works and so far having this small problem : I can't resize my main window. WindowPos works, WindowSize does not...
ImGui::SetNextWindowPos(ImVec2(0,0));
ImGui::SetNextWindowSize(ImVec2(1400,800), ImGuiSetCond_FirstUseEver);
im_gui.begin();
render_main_buttons();
render_scenes_list();
im_gui.end();From doc
IMGUI_API void SetNextWindowSize(const ImVec2& size, ImGuiSetCond cond = 0); // set next window size. set axis to 0.0f to force an auto-fit on this axis. call before Begin()
Should be trivial... What's wrong ?
@jvcleave ? Any idea ?
Posts: 5
Participants: 3