Shane Stanley
2016-09-15 00:50:55 UTC
Under 10.12 GM, I'm seeing entries like this in Console:
NSToolbarItem (<NSToolbarItem: 0x618000138060>) had to adjust the size of <NSButton: 0x618000144c50> from {38, 25} to the expected size of {40, 27}. Make sure that this toolbar item view has a valid frame/min/max size. This is an app bug, please do not file a bug against AppKit or NSToolbar! Break on _NSToolbarAdjustedBorderedControlSizeBreakpoint
I'm seeing it in a couple of apps -- one using a standard nib approach, and one generating the toolbar fully in code.
In the nib one, the toolbar has buttons on the toolbar items, and IB won't even allow any size other than 25px deep. I've tried fiddling with the toolbar item sizes, to no avail. I added the suggested breakpoint, but I don't see it break. If the message weren't so adamant, I'd be inclined to question it.
Anyone else seen it, or have suggestions?
--
Shane Stanley <***@myriad-com.com.au>
<www.macosxautomation.com/applescript/apps/>, <latenightsw.com>
_______________________________________________
Cocoa-dev mailing list (Cocoa-***@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/gegs%40ml-in.narkive.net
This email sent to geg
NSToolbarItem (<NSToolbarItem: 0x618000138060>) had to adjust the size of <NSButton: 0x618000144c50> from {38, 25} to the expected size of {40, 27}. Make sure that this toolbar item view has a valid frame/min/max size. This is an app bug, please do not file a bug against AppKit or NSToolbar! Break on _NSToolbarAdjustedBorderedControlSizeBreakpoint
I'm seeing it in a couple of apps -- one using a standard nib approach, and one generating the toolbar fully in code.
In the nib one, the toolbar has buttons on the toolbar items, and IB won't even allow any size other than 25px deep. I've tried fiddling with the toolbar item sizes, to no avail. I added the suggested breakpoint, but I don't see it break. If the message weren't so adamant, I'd be inclined to question it.
Anyone else seen it, or have suggestions?
--
Shane Stanley <***@myriad-com.com.au>
<www.macosxautomation.com/applescript/apps/>, <latenightsw.com>
_______________________________________________
Cocoa-dev mailing list (Cocoa-***@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/gegs%40ml-in.narkive.net
This email sent to geg