Revision: 14993
http://sourceforge.net/p/skim-app/code/14993
Author: hofman
Date: 2025-03-20 18:09:57 +0000 (Thu, 20 Mar 2025)
Log Message:
-----------
set controlsize of whole view to regular forr customization palette
Modified Paths:
--------------
trunk/SKColorSwatch.m
Modified: trunk/SKColorSwatch.m
===================================================================
--- trunk/SKColorSwatch.m 2025-03-20 17:37:33 UTC (rev 14992)
+++ trunk/SKColorSwatch.m 2025-03-20 18:09:57 UTC (rev 14993)
@@ -177,7 +177,7 @@
}
// this is only used for the toolbar customization palette
- [backgroundView setControlSize:NSControlSizeRegular];
+ [self setControlSize:NSControlSizeRegular];
}
return self;
}
@@ -362,7 +362,7 @@
[super viewDidMoveToWindow];
if ([self window]) {
CGFloat height = [[backgroundView cell] cellSize].height -
BEZEL_INSET_TOP - BEZEL_INSET_BOTTOM;
- if ([self controlSize] == 3)
+ if ([backgroundView controlSize] == 3)
height -= LARGE_SIZE_HEIGHT_OFFSET;
if (fabs(height - bezelHeight) > 0.0) {
bezelHeight = height;
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