Window decorations: do not center window title if embedded menu bar is empty or has no menus at left side, but some components at right side (issue #558)

This commit is contained in:
Karl Tauber
2022-07-09 00:04:51 +02:00
parent 7437d984c7
commit 9977bcb468
2 changed files with 27 additions and 6 deletions

View File

@@ -13,11 +13,13 @@ FlatLaf Change Log
- `HiDPIUtils.paintAtScale1x()` now supports rotated graphics. (issue #557)
- Typography: No longer use `Consolas` or `Courier New` as monospaced font on
Windows because they have bad vertically placement.
- Native window decorations (Windows 10/11 only): Do not use window decorations
if system property `sun.java2d.opengl` is `true` on Windows 10. (issue #540)
- Native window decorations (Windows 10 only): Fixed missing top window border
in dark themes if window drop shadows are disabled in system settings. (issue
#554)
- Native window decorations (Windows 10/11 only):
- Do not center window title if embedded menu bar is empty or has no menus at
left side, but some components at right side. (issue #558)
- Do not use window decorations if system property `sun.java2d.opengl` is
`true` on Windows 10. (issue #540)
- Fixed missing top window border in dark themes if window drop shadows are
disabled in system settings. (issue #554; Windows 10 only)
## 2.3