Revision: 28373
http://sourceforge.net/p/bibdesk/svn/28373
Author: hofman
Date: 2023-09-23 17:29:03 +0000 (Sat, 23 Sep 2023)
Log Message:
-----------
we can use fittingSize for text and image cells, the problem is the
BDSKLineTextField subclass
Modified Paths:
--------------
trunk/bibdesk/BibDocument_DataSource.m
Modified: trunk/bibdesk/BibDocument_DataSource.m
===================================================================
--- trunk/bibdesk/BibDocument_DataSource.m 2023-09-23 16:48:45 UTC (rev
28372)
+++ trunk/bibdesk/BibDocument_DataSource.m 2023-09-23 17:29:03 UTC (rev
28373)
@@ -245,8 +245,6 @@
width = fmax(width, ceil([[[view textField] cell]
cellSize].width));
else if ([view imageView] && [view textField] == nil)
width = fmax(width, [tv rowHeight]);
- else if ([view imageView] && [view textField])
- width = fmax(width, ceil([[[view textField] cell]
cellSize].height) + ceil([[[view textField] cell] cellSize].width));
else
width = fmax(width, [view fittingSize].width);
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit