Follow-up Comment #2, bug #35702 (project gnustep):
Thanks for the report. From the image it looks like the size of the text is
being calculated, used to set the text drawing area, and the rendered text
ends up being longer.
I committed r34885 which may help; it won't try to restrict the text drawing
area to the calculated size.
If there are still problems, here's a code snippet you can add to the start of
the drawTitleForMenuItemCell: method in GSThemeDrawing.m to see the drawing
rect that is being calculated.
// Outline the title rect in red
[NSGraphicsContext saveGraphicsState];
[[NSColor redColor] set];
NSFrameRect([cell titleRectForBounds: cellFrame]);
[NSGraphicsContext restoreGraphicsState];
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?35702>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gnustep