Revision: 13593
          http://sourceforge.net/p/skim-app/code/13593
Author:   hofman
Date:     2023-08-18 20:59:29 +0000 (Fri, 18 Aug 2023)
Log Message:
-----------
always set segmented control height to 24

Modified Paths:
--------------
    trunk/SKNavigationWindow.m

Modified: trunk/SKNavigationWindow.m
===================================================================
--- trunk/SKNavigationWindow.m  2023-08-18 20:57:04 UTC (rev 13592)
+++ trunk/SKNavigationWindow.m  2023-08-18 20:59:29 UTC (rev 13593)
@@ -717,11 +717,7 @@
 
 - (void)sizeToFit {
     [super sizeToFit];
-    NSSize size = [self frame].size;
-    if (size.height < 24.0) {
-        size.height = 24.0;
-        [self setFrameSize:size];
-    }
+    [self setFrameSize:NSMakeSize(NSWidth([self frame]), 24.0)];
 }
 @end
 

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

Reply via email to