Flix01 / imgui

Dear ImGui Addons Branch = plain unmodified dear imgui plus some extra addon.
https://github.com/Flix01/imgui/wiki/ImGui-Addons-Branch-Home
MIT License
395 stars 34 forks source link

Issue when resizing right most dock #24

Closed pixelnerve closed 7 years ago

pixelnerve commented 7 years ago

With a 3 dock horizontal layout, when resizing the right most one, the dock on the left should not change size, right ? I would expect the right most and middle docks to change it's size but, not the left dock. This is not the current behaviour. Is this on purpose ?

Flix01 commented 7 years ago

Are you using imguidock or imguitabwindow ?

pixelnerve commented 7 years ago

@Flix01 Using imguidock

Flix01 commented 7 years ago

Well, I did not write it! I've just taken as it was and added my serialization system and (optional) texture icon support (when dragging tabs). So I'm not sure if it's possible to fix this behaviour or not... :unamused:

However, as far as I can see, it does not always happen: it depends on you "split history". See it here: imguidock What you experience is probably caused by the fact that you're moving a border between a different "depth level" of splitting: the program is correctly assigning the same space for both parts, but one is made by more than one window, so all of them are resized.

At least, imguitabwindow works this way. Probably imguidock does something similiar.

So I think this is not an issue and it's the correct behaviour.