Make toggling utility area maximization smooth
Description
Before:
https://github.com/CodeEditApp/CodeEdit/assets/65467530/3cb0d3da-15bb-4808-a442-c1a1477dcee2
After:
https://github.com/CodeEditApp/CodeEdit/assets/65467530/2c380fd7-82ef-41c8-95e4-1c934ad3e009
Checklist
- [x] I read and understood the contributing guide as well as the code of conduct
- [x] The issues this PR addresses are related to each other
- [x] My changes generate no new warnings
- [x] My code builds and runs on my machine
- [x] My changes are all related to the related issue above
- [x] I documented my code
Screenshots
Hm, I can't seem to reproduce:
https://github.com/CodeEditApp/CodeEdit/assets/65467530/2ae7d12d-5f4e-4694-93e6-bedfbfde8925
This is after quitting and reopening, without touching anything else other than the top edge of the window.
Oh nevermind, I'm seeing it now too...will see if there's an easy fix 😓
While debugging this I discovered a new issue (both on this branch and on main as well):
https://github.com/CodeEditApp/CodeEdit/assets/65467530/29eb4598-1287-42ab-9871-14da1cdef81c
The bottom of the window gets forced down when maximizing the utility area for some reason, after it's been minimized and reopened...
This issue also occurs sometimes even without minimizing/reopening, but I can't find reliable ways to repro them.
The issue you noted earlier should be resolved now, but the issue I commented on above still stands; any ideas perhaps on how to fix it/what could be causing it?