You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You're probably growing/shrinking the window on the horizontal axis, not on the vertical one. reset size() only resets on the orientation of the current window with respect to its parent. If you're growing said window vertically instead, reset_size() should work as expected.
The point here is that we need to guess whether resetting the size is meant to be applied vertically or horizontally.
I think I'll solve this by assuming that if reset_size() is called on a window which is already relatively sized, it'll try to call reset_size() on its parent instead.
(In other words: Right now we have grow_height and grow_width, so we'd also need reset_width and reset_height. To avoid adding more commands I'm just gonna make reset_size to the closest parent that is absolutely sized.)
Reset_size() has not no effect after performing a vertical split. After closing the vertical split window it works fine.
Steps to reproduce:
5th step should reset/normalize the size of all windows but it has no effect
The text was updated successfully, but these errors were encountered: