Files
oak-gpui/crates
Quadri A. Adekunle 4167c66b86 macOS: Fix center window with fixed bounds size (#8475)
This PR fixes window showing up in the center of the monitor when
`center: true` option is provided.

The idea is to set the `window_wize` when creating the `window` using
`native_window.initWithContentRect_styleMask_backing_defer_screen_()`

Before: 

<img width="851" alt="SCR-20240227-qokf"
src="https://github.com/zed-industries/zed/assets/20229808/27494966-2e97-4771-8837-ccb6658ced78">

After:

<img width="1132" alt="SCR-20240227-qlmg"
src="https://github.com/zed-industries/zed/assets/20229808/439568da-d380-4331-8d19-cd501f211c4c">


Release Notes:

- N/A
2024-03-04 17:08:29 -07:00
..
2024-03-04 11:47:07 -05:00
2024-03-02 17:37:48 -05:00
2024-03-02 14:46:02 -05:00
2024-02-22 22:28:08 -05:00
2024-03-04 21:04:53 +01:00
2024-03-01 23:22:22 -05:00
2024-03-04 21:04:53 +01:00
2024-03-04 21:04:53 +01:00
2024-03-04 21:04:53 +01:00
2024-01-29 23:47:20 -05:00
2024-03-04 21:04:53 +01:00
2024-03-04 21:04:53 +01:00