Revision: 16472
http://sourceforge.net/p/skim-app/code/16472
Author: hofman
Date: 2026-09-13 21:48:27 +0000 (Sun, 13 Sep 2026)
Log Message:
-----------
mmake sure expanded pane is not too narrow
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2026-09-13 17:46:45 UTC (rev 16471)
+++ trunk/SKMainWindowController.m 2026-09-13 21:48:27 UTC (rev 16472)
@@ -332,7 +332,7 @@
width = [savedNormalSetup objectForKey:LEFTSIDEPANEWIDTH_KEY] ?: [sud
objectForKey:SKLeftSidePaneWidthKey];
if (width && [width doubleValue] > 0.0) {
NSSize size = [view frame].size;
- size.width = [width doubleValue];
+ size.width = MAX(MIN_SIDE_PANE_WIDTH, [width doubleValue]);
[view setFrameSize:size];
} else if (width) {
leftCollapsed = YES;
@@ -344,7 +344,7 @@
width = [savedNormalSetup objectForKey:RIGHTSIDEPANEWIDTH_KEY] ?: [sud
objectForKey:SKRightSidePaneWidthKey];
if (width && [width doubleValue] > 0.0) {
NSSize size = [view frame].size;
- size.width = [width doubleValue];
+ size.width = MAX(MIN_SIDE_PANE_WIDTH, [width doubleValue]);
[view setFrameSize:size];
rightCollapsed = NO;
}
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