Revision: 16127
http://sourceforge.net/p/skim-app/code/16127
Author: hofman
Date: 2026-03-28 22:49:10 +0000 (Sat, 28 Mar 2026)
Log Message:
-----------
use preesentation toolbar style for polish localization, to avoid overflow.
Modified Paths:
--------------
trunk/SKPreferenceController.m
Modified: trunk/SKPreferenceController.m
===================================================================
--- trunk/SKPreferenceController.m 2026-03-28 21:54:52 UTC (rev 16126)
+++ trunk/SKPreferenceController.m 2026-03-28 22:49:10 UTC (rev 16127)
@@ -164,6 +164,11 @@
[toolbar setDelegate:self];
[window setToolbar:toolbar];
+ if (@available(macOS 11.0, *)) {
+ if ([[[NSLocale currentLocale] languageCode] isEqualToString:@"pl"])
+ [window setToolbarStyle:NSWindowToolbarStylePreference];
+ }
+
[contentView setWantsLayer:YES];
// we want to restore the top of the window, while without the force it
restores the bottom position without the size
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit