Replies: 2 comments
-
I'm sorry there is no easy way to do that since ImGui simply does not want to transmit this information. You will have to do it by code. Another possibility: |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank-you Pascal,
It would be great if someday it could happen.
Yours truly,
Peter Walker
… On Jun 3, 2024, at 2:48 AM, Pascal Thomet ***@***.***> wrote:
I'm sorry there is no easy way to do that since ImGui simply does not want to transmit this information. You will have to do it by code.
Another possibility:
Provide several identical layouts "CustomLayout1, CustomLayout2, etc" (identical as far as the code is concerned) that the user can rearrange.separately . The user modifications will be saved for each of them.
—
Reply to this email directly, view it on GitHub <#113 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/A4IQUULW62ZRZZGRQRJAEKTZFQGUXAVCNFSM6AAAAABIVTZKAWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TMNBTHA3TG>.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I start with a layout, and move the original windows around, hiding some windows. I want to save that user-changed layout as a new layout that I can switch between. I actually want to be able to save multiple user created layouts and switch between them. How do I create a new layout from the existing layout as it appears to the user on the screen?
My efforts:
After I have interactively split the windows by dragging them into new positions, I have tried to save the new layout from
HelloImGui::GetRunnerParams()->dockingParams
into
HelloImGui::GetRunnerParams()->alternativeDockingLayouts
but the docking splits are not saved. When new splits are created interactively, those splits do not appear in the
HelloImGui::GetRunnerParams()->dockingParams.dockingSplits
....but this does not work. The user modified layout is not saved.
Beta Was this translation helpful? Give feedback.
All reactions