windows: Fix title bar height when maximized (#9449)

screenshots and description incoming

## title bar when window is maximized
| before | after |
| ---    | ---   |
|
![image](https://github.com/zed-industries/zed/assets/1284289/075a943d-54db-4b71-9fa0-15f823255182)
|
![image](https://github.com/zed-industries/zed/assets/1284289/39a1d381-fcfd-4651-aab4-231a8ec3bd99)
|

## ~~caption buttons at 200%~~
~~buttons are now properly responsive at different scales~~
~~closes #9438~~
~~proper scale factor handling in follow up PR (possibly #9440)~~

<details>
  <summary>out of date image</summary>


![scale-factor](https://github.com/zed-industries/zed/assets/1284289/299d37b8-0d2e-4f2e-81db-2fff6fc59a62)
</details>

should be fixed by https://github.com/zed-industries/zed/pull/9456


Release Notes:

- N/A
This commit is contained in:
Ezekiel Warren 2024-03-19 20:54:00 -07:00 committed by GitHub
parent 3dadfe4787
commit d5e0817fbc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 67 additions and 42 deletions

1
Cargo.lock generated
View file

@ -10626,6 +10626,7 @@ dependencies = [
"story",
"strum",
"theme",
"windows 0.53.0",
]
[[package]]